Will D ever get optional named parameters?

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 15 04:52:10 PDT 2014


ketmar:

> besides, nested foreach with '_' is not working. but "__"
> can generate unique temporary variable each time.

The point is to introduce a little breaking change in D and use 
"_" as "don't care", so you can reuse it for nested scoped and 
for tuple unpacking, and for other similar future purposes.

Bye,
bearophile


More information about the Digitalmars-d mailing list