this is almost a workaround for the lack of named parameters

bearophile bearophileHUGS at lycos.com
Sat Mar 23 08:00:12 PDT 2013


foobar:

> Code that needs named parameters to be more readable is poorly 
> designed code in the first place.

Have you used a language where the usage of named arguments is 
idiomatic, like Python, Scala or Ada? They are sometimes useful 
even for well designed code, like functions with two arguments.

Bye,
bearophile


More information about the Digitalmars-d mailing list