Add := digraph to D

bearophile bearophileHUGS at lycos.com
Wed Jun 20 08:46:11 PDT 2012


ixid:

> How does that address my question? I didn't suggest the 
> replacement or removal of syntax.

I think your suggestion is not so useful because in many cases 
you don't want to use "auto". To justify the introduction of a 
new syntax it needs to cover many usage cases, or to do something 
that before was impossible/hard to, or bug prone, or very long to 
write, or very inelegant, etc.

With other people I have suggested to introduce a syntax like:

int[$] array = [1, 2, ....many more....];

This is useful because counting the items manually is boring and 
bug-prone.

Bye,
bearophile


More information about the Digitalmars-d mailing list