The Language I Wish Go Was

Adam D. Ruppe destructionator at gmail.com
Thu Oct 21 12:31:01 PDT 2010


On Thu, Oct 21, 2010 at 09:21:31PM +0200, Juanjo Alvarez wrote:
> I wish Go, sorry, D had named arguments too. Its a simple feature 
> that nuke a trunkload of function overloading.

Would a solution like this be acceptable to you?

void func(int a, int b) {}


call!(func, "a", 10, "b", 20);


Doing this today wouldn't be too hard in the library.



More information about the Digitalmars-d mailing list