Please stop polluting D 2.0 with C/C++ programmer assumptions.
Bill Baxter
dnewsgroup at billbaxter.com
Thu Nov 29 12:56:41 PST 2007
Tomas Lindquist Olsen wrote:
> Hi Walter (and NG).
>
> I've been trying to follow the NG lately (which is fairly time
> consuming) and I really only have one thing to say:
>
> 1) Remove the support for C style declaration.
> 2) Make suffix const the only way to declare a const method.
> 3) Stop assuming C++ programmers wants D to feel like C++.
> 4) Please...
>
> This stuff is killing me! For the first time in D2.0 history I'm feeling
> it's on the right track, but things like:
>
> class C {
> const const int[] func();
> }
That one is a syntax error. Should be
class C {
const const(int[]) func();
}
But I don't understand the logic of 3)"don't assume C++ folks want D to
look like C++" and 2)"make suffix const the only way [like C++]". It
seems like a mild contradiction.
--bb
More information about the Digitalmars-d
mailing list