F i L wrote:
On a side note, you could always invoke Arrays, Dynamic Arrays
(Lists), and Associative Arrays (Maps) by name (like every
other object), and use the '[...]' syntax for initializing the
size:
[ ... ]
meh. On second thought, that would be really annoying in some places. It would be ugly cause you'd have to do things like:
void main(List(string) args) { ... }
instead of:
void main(string[] args) { ... }
I think the way D currently handles arrays is very elegant.
