Named Parameters (Was: A nice way to step into 2012)

so so at so.so
Fri Dec 30 17:37:58 PST 2011


On Thu, 29 Dec 2011 23:59:46 +0200, Jonathan M Davis <jmdavisProg at gmx.com>  
wrote:

> Introducing named arguments makes a function's parameters part of the  
> API and
> introduces yet another point where code breakage can occur due to code
> changes. And that is a _very_ negative aspect of named arguments IMHO.

Yes but luckily i think it is the only downside. You have to edit, if you  
(or your boss) asked for.
Now only question is if it worths. Remembering all those cryptic parameter  
passing cases i think it does.
And good thing is that it is an additive change to the language.


More information about the Digitalmars-d mailing list