On 6/14/11 12:58 PM, so wrote:
On Tue, 14 Jun 2011 08:32:59 +0300, Nick Sabalausky <[email protected]> wrote:

I think Ary's suggestion is very simple and easy to understand. Hybrid
calls
are *only* confusing when an unnamed parameter comes after a named one.

An example to it.

fun(int a, int b, int c, int d)

Say we want to name only c:

fun(2, 3, 1, c:5)
// error: c assigned twice

Remember, the third argument is positional so it's assigned to c. Then you are trying to assign c again. It's an error.

Reply via email to