[nem-en] Const vs. Static non-mutable

Michal Moskal michal.moskal at gmail.com
Tue Feb 20 16:19:51 CET 2007


On 2/20/07, vc <vc at rsdn.ru> wrote:
> > I think the same difference like between const and static readonly in C#.
>
> -1
>
> It depend from initializer.
> def x = 1;          // => const
> def x = SomeCall(); // => readonly

I think this is about class fields, which, as people noted, have
different versioning behavior depending on whether they are const or
readonly.


-- 
   Michał


More information about the devel-en mailing list