any news on const/invariant?
James Dennett
jdennett at acm.org
Mon Dec 17 08:06:37 PST 2007
Walter Bright wrote:
> Janice Caron wrote:
>> You are of course completely correct about that, Walter. However,
>> nobody here is claiming that C++ got it right. Rather, we're saying
>> that D /should/ get it right.
>>
>> Just because C++ is confusing, doesn't mean D has to be confusing too.
>
> But much of the justifications used here are that C++ is intuitive. It
> isn't, it's just what you're used to.
I don't think it's that C++ is intuitive: it's that it's not as
hard for people to grok, in this area, as D. (And let's admit
that C++'s declaration syntax is one of worst things about C++,
so D should be able to avoid that criticism.)
-- James
More information about the Digitalmars-d
mailing list