const again
Denton Cockburn
diboss at hotmail.com
Fri Dec 7 01:18:56 PST 2007
On Fri, 07 Dec 2007 04:14:39 -0500, guslay wrote:
> Denton Cockburn Wrote:
>
>
>> You've mentioned this already, but D's already got too many keywords.
>> I think enum/macro is fine if it's explained in the docs.
>>
>> Let's not add more keywords, esp. for minimal net benefit.
>
> Having specific, obvious keywords for different concepts may cause less
> confusion than selecting a loosely related keyword from the existing
> pool based on a best match approach.
>
> But then again I am not the one who pays for implementing it so it's
> easy to say.
>From the explanations of what enum actually does in D (which is different
than C/C++ already), it actually makes a lot of sense.
I figure D changes to the meaning of C/C++ keywords are already
documented, so it's not a big deal to just add: and it also means...
Why use new keywords to express concepts that are already explainable
with current and documented keywords...
More information about the Digitalmars-d
mailing list