D const design rationale

Sean Kelly sean at f4.ca
Tue Jun 26 21:33:11 PDT 2007


Walter Bright wrote:
> 
>> or 'readonlyview' considered as an alternative for 'const'? I kind of 
>> like the sound of 'readonly', and it doesn't make you think of C++ 
>> 'const'... but maybe that's bad.
> 
> readonlyview is too long.

And why not just 'view' again?  It's short and seems to imply what's 
being done.


Sean



More information about the Digitalmars-d mailing list