this is almost a workaround for the lack of named parameters
J
not_avail at notavailable.com
Fri Mar 22 02:18:31 PDT 2013
The bigger point here is more profound: it is trivial to
implement named parameters using structs + trivial lowerings, and
this is no way conflicts with function overloading.
D deserves to have named parameters to functions -- it makes for
much more legible code, and obviates the need for slow builder
patterns. Readable and speedable. It's win-win.
More information about the Digitalmars-d
mailing list