'final' variables

Andrei Alexandrescu (See Website For Email) SeeWebsiteForEmail at erdani.org
Tue Mar 20 14:06:05 PDT 2007


Benji Smith wrote:
> Damn. I always thought "static final" in Java was a sloppy kludge for 
> what should have been "const".

It is. This is because Java lacks the notion of const for 
indirectly-referred data, which is the interesting case.

Andrei



More information about the Digitalmars-d mailing list