Pretty please: Named arguments

Simen kjaeraas simen.kjaras at gmail.com
Mon Feb 28 22:04:06 PST 2011


Russel Winder <russel at russel.org.uk> wrote:

> The Python mechanism relies on the fact that despatch is by name and not
> by signature.  Languages that dispatch by signature will have
> significantly greater problems!

Hardly. Just like with default arguments, the compiler would add in the
missing stuff and use the simple signature. The parameter names would not
be part of the signature.

-- 
Simen


More information about the Digitalmars-d mailing list