Thesis on metaprogramming in D
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Thu Nov 30 02:40:26 PST 2006
Daniel Keep wrote:
> > def sr = System.IO.StreamReader ("SomeFile.txt");
>
> Immutable run-time variables. You can assign anything to them, and then
> it can't change. AFAIK, D's const doesn't let you do that.
>
What's the difference from C# and Java's 'final'? Is the variable
transitively unchangeable, or just the immediate value?
--
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
More information about the Digitalmars-d
mailing list