newbie question: Can D do this?

Philippe Sigaud philippe.sigaud at gmail.com
Thu Dec 22 08:37:16 PST 2011


On Thu, Dec 22, 2011 at 16:37, clk <clk at clksoft.com> wrote:
> Philippe,
> Thank you very much for your response.  It looks similar to what I've done
> in javascript by wrapping all function arguments into a single object
> literal but the D alternative you propose is a little to convoluted for a
> beginner like me. Perhaps I'll understand it better after I'm done reading
> the D book.

Oh yes, it *is* convoluted :)
What I was proposing is to try and code it myself, if others find the
resulting syntax acceptable. I wouldn't know, since I do not use named
arguments myself.


More information about the Digitalmars-d-learn mailing list