We need to kill C syntax for declaring function types
Marianne Gagnon
auria.mg at gmail.com
Mon Oct 4 08:06:55 PDT 2010
Hi,
>
> The C syntax is unspeakably ridiculous, useless, and downright
> dangerous. It shouldn't compile.
>
> In the past, Walter has mentioned a weak argument for retaining C-style
> array declaration syntax, although I personally find it very
> unconvincing. But C's hideous function pointer syntax is on a whole
> other level. It's really hurting us. I believe it should be deprecated
> immediately. But the 'function type' syntax shouldn't be allowed even as
> a deprecated syntax. It's horrible.
>
> Patch included in Bug 4987.
I don't have much weight, but... seconded, definitely :) D needs to be as clean as possible, bad C syntax needs to go.
-- Auria
More information about the Digitalmars-d
mailing list