Extended Type Design.

mike vertex at gmx.at
Fri Mar 16 07:44:54 PDT 2007


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

"super" is for calling constructors and that should be the only use for  
this keyword.

-mike

-- 
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/



More information about the Digitalmars-d mailing list