On 29.12.2011 02:02, so wrote:
On Thu, 29 Dec 2011 02:14:18 +0200, Timon Gehr <timon.g...@gmx.ch> wrote:
On 12/29/2011 12:58 AM, so wrote:
On Thu, 29 Dec 2011 01:48:57 +0200, Timon Gehr <timon.g...@gmx.ch>
wrote:
The moment NP by default is introduced is the moment all parameter
names in all libraries are set in stone.
This is completely false. NP affects only those that "want" to use it,
no one else. Again, no one.
It is just like inline asm.
No, it is not. If all parameters are named parameters, then the
library writers have to be aware of the fact that some users might use
named arguments. Again, every library writer is affected.
Show me any library code from any language where library writer is not
already "aware" their argument names define their function.
They even document it that way.
/// a does this, b does that
void fun(int a, int b)
sin(real x);
sin(real theta);
The argument name is *completely* irrelevant. That shouldn't be part of
the interface.
I have a really really bad taste in my mouth from named arguments in COM.