A nice way to step into 2012

so so at so.so
Wed Dec 28 15:29:44 PST 2011


On Thu, 29 Dec 2011 00:48:54 +0200, Timon Gehr <timon.gehr at gmx.ch> wrote:

> On 12/28/2011 11:34 PM, so wrote:
>> If you change "anything" in your interface, it is already a breaking
>> change.
>
> That is why it is desirable to not let parameter names contribute to the  
> interface. Jonathan definitely has a point against making all parameters  
> named parameters by default.

/// A.d
void fun1(int Arg);
void fun2(int x);

/// B.d
void fun1(int arg);
void fun2(int y);

I am having hard time understanding the issue really.
Now as a user i don't know why the library dev. changed the interface:

/// without NP
fun1(arg); // recompile no edit,
fun2(x);   // well

You are saying like changing a parameter name in lib code is always so  
harmless.
You guys making your case on a dumb developer that goes for a breaking  
change just to fix a always harmless typo.
Then, what makes you so sure he won't do this?


More information about the Digitalmars-d mailing list