Extended Type Design.

Andrei Alexandrescu (See Website For Email) SeeWebsiteForEmail at erdani.org
Fri Mar 16 14:02:04 PDT 2007


Joel C. Salomon wrote:
> Andrei Alexandrescu (See Website For Email) wrote:
>> We've shoved keywords like "readonly" and "view" for a while, and they 
>> just added more confusion than cleared, at a high cost. If (as I 
>> suspect) super const appears relatively infrequently, it might be fine 
>> to just encode it as the mildly verbose "super const". In fact, it's 
>> shorter than "keepyourgrubbyhandsoff". :o)
> 
> How about “const const”?  No new keywords, no reuse of keywords in 
> disparate contexts, and equally noticeable to the eye.

It was on the plate briefly. Probably it would be an uphill battle to 
convince people to enjoy it.

Andrei



More information about the Digitalmars-d mailing list