On Mon, 28 Feb 2011 07:48:24 -0500, Andrej Mitrovic <[email protected]> wrote:

I prefer using the equals sign:
foo(action = "dofoo", times = 100)

This is how Python does it.

This syntax already means something in D:

string action;
int times;
foo(action = "dofoo", times = 100); // set action to "dofoo" and times to 100 and pass those to the function.

-Steve

Reply via email to