Extended Type Design.

Benji Smith dlanguage at benjismith.net
Fri Mar 16 16:03:42 PDT 2007


Walter Bright wrote:
> Andrei Alexandrescu (See Website For Email) wrote:
>> We're doomed either way. We don't want to confuse C++ programmers. Two 
>> levels of strength of const are more descriptive than a new keyword 
>> that half of the people will think it's the other way.
> 
> True. If we have readonly and const, I expect endless confusion about 
> which is which.

Not to mention if you also have 'readsometimes'. Nobody'll EVER figure 
that one out :)

--benji



More information about the Digitalmars-d mailing list