new DIP47: Outlining member functions of aggregates
bearophile
bearophileHUGS at lycos.com
Tue Sep 10 07:15:18 PDT 2013
Craig Dillabaugh:
> Apart from functions with say variadic parameter lists, is this
> really all that useful?
There are rare situations when you need to add a certain argument
to the function signature, but you don't need to use that
argument inside the method/function. This happens for example
because of code evolution. In such cases not giving a name to the
argument is good, you avoid introducing a useless and unused
variable name, making the code simpler, safer, and more clear.
Bye,
bearophile
More information about the Digitalmars-d
mailing list