Extended Type Design.
Andrei Alexandrescu (See Website For Email)
SeeWebsiteForEmail at erdani.org
Fri Mar 16 10:59:29 PDT 2007
mike wrote:
> Am 16.03.2007, 10:19 Uhr, schrieb Andrei Alexandrescu (See Website
> For Email) <SeeWebsiteForEmail at erdani.org>:
>
>> You can use "super const". We should be really really careful about
>> adding new keywords; D already has tons, and I have a feeling we
>> don't want it to become Cobol or dBase.
>>
>> If there are ways to stay away from new keywords, we'll do so. I do
>> realize that no matter the syntax, there will be people who won't
>> like it. But avoiding adding keywords liberally is an overriding
>> desideratum.
>>
>>
>> Andrei
>
> Why not "const final" or "final const"?
>
> (a) .. final (b) .. const (c) .. const final / final const
Because final const and super const express very different realities.
> "super" is for calling constructors and that should be the only use
> for this keyword.
From your email I see you are Austrian, so I'm surprised. :o) German is
the most synthetic (as opposed to analytical) language in use, and has
the admirable property of building precise terms by combining smaller
polysemous terms.
Andrei
More information about the Digitalmars-d
mailing list