Extended Type Design.
kris
foo at bar.com
Fri Mar 16 13:10:03 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.
>
> --Joel
The whole things about adding *more* constantness to const screams one
thing very loudly: the applicability of the word "const", in this
context, is borked :)
More information about the Digitalmars-d
mailing list