What are the worst parts of D?

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 23 23:29:14 PDT 2014


On 9/20/2014 3:53 PM, Brian Schott wrote:
> On Saturday, 20 September 2014 at 12:39:23 UTC, Tofu Ninja wrote:
>> What do you think are the worst parts of D?
>
> This compiles.
>
> https://github.com/Hackerpilot/Idiotmatic-D/blob/master/idiotmatic.d

https://github.com/D-Programming-Language/dmd/pull/4021

produces:

test.d(7): Warning: instead of C-style 'T id[]' syntax, use D-style 'T[]' id syntax
test.d(8): Warning: instead of C-style 'T id[]' syntax, use D-style 'T[]' id syntax
test.d(11): Warning: instead of C-style 'T id[exp]' syntax, use D-style 'T[exp] 
id' syntax
test.d(15): Warning: instead of C-style 'T id[type]' syntax, use D-style 
'T[type]' id syntax
test.d(57): Warning: instead of C-style 'T id[]' syntax, use D-style 'T[]' id syntax
test.d(94): Warning: instead of C-style 'T id[]' syntax, use D-style 'T[]' id syntax
test.d(103): Warning: instead of C-style 'T id[]' syntax, use D-style 'T[]' id 
syntax

I.e. resolves 7 of them. :-)


More information about the Digitalmars-d mailing list