Will D ever get optional named parameters?

Russel Winder via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 13 08:39:50 PDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13/10/14 09:47, Walter Bright via Digitalmars-d wrote:
> On 10/13/2014 1:29 AM, "岩倉 澪" wrote:
>> Are there good reasons not to add something like this to the
>> language, or is it simply a matter of doing the work? Has it been
>> discussed much?
> 
> Named parameters interact badly with overloading.

Groovy handles this OK.

(Python handles this fine by not having even a whiff of the
possibility of overloading ;-)

- -- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip:
sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlQ78kYACgkQ+ooS3F10Be/mswCg20q2hDsmPBYkJpwr1c03fjVj
KVkAn1pmkQGjN2OATRbuDHHWu2xN9SyE
=hPA7
-----END PGP SIGNATURE-----


More information about the Digitalmars-d mailing list