need clarification: will typedef, C struct initialization, etc.

bearophile bearophileHUGS at lycos.com
Sun Jun 6 08:47:21 PDT 2010


Ellery Newcomer:
> Ooo Ooo Ooo Can we get rid of them? Pretty pretty please?

Why are you so eager to remove them?

(They are not essential, D has plenty of other ways (maybe even too many) to instantiate a struct. But I have appreciated C-style struct initializers in D because they give a more compact syntax when I have to define many small structs inside an array literal).

Bye,
bearophile


More information about the Digitalmars-d mailing list