[nem-en] Const vs. Static non-mutable
Kamil Skalski
kamil.skalski at gmail.com
Tue Feb 20 16:29:24 CET 2007
Right, sometimes we need to make sure that given field is not inlined
- in case we just want to redeploy the assembly which contains it, not
any other.
But I still think, that such case could just be marked by "mutable",
as this is indeed a case - you notify users that this field can change
in any moment.
2007/2/20, Vladimir Reshetnikov <v.reshetnikov at gmail.com>:
> > Really the C# compiler also often convert variables (initialized by literal)
> > to const. But it hidden from programmers.
>
> If we say about local variables - yes, but this does not affect anything.
> For member variables (fields), it is often important to make a distinction.
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list