Remus

Namespace rswhite4 at googlemail.com
Wed Dec 5 10:43:01 PST 2012


On Wednesday, 5 December 2012 at 13:36:14 UTC, renoX wrote:
> On Tuesday, 4 December 2012 at 21:59:15 UTC, Namespace wrote:
> [cut]
>> - readonly variables, even called "lazy const". constant 
>> variable, not rebindable but value must not assign by 
>> declaration. Syntax: readonly int i;
>
> In the (unlikely) case you didn't know: the name for this 
> feature in Eiffel is "once" variable.
>
> BR,
> renoX

I really did not know that, thanks. I will change the name 
directly. once is a "little" more intuitive than readonly.


More information about the Digitalmars-d-announce mailing list