<div dir="ltr"><div>nim has both <span style="font-size:12.8000001907349px">overloading and </span><span style="font-size:12.8000001907349px">named arguments (with reordering and defaults allowed): </span><a href="http://nim-lang.org/docs/tut1.html#procedures-named-arguments">http://nim-lang.org/docs/tut1.html#procedures-named-arguments</a></div><div>and it doesn't seem to cause issues.</div><div><br></div><div>Is there a document / thread that explains the argument against named arguments in more details than '<span style="font-size:12.8000001907349px">do not play well together' </span>?</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 8, 2015 at 10:45 PM, Jonathan M Davis via Digitalmars-d-learn <span dir="ltr"><<a href="mailto:digitalmars-d-learn@puremagic.com" target="_blank">digitalmars-d-learn@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Monday, June 08, 2015 20:36:05 Yuxuan Shui via Digitalmars-d-learn wrote:<br>
> Is there any reasons/difficulties for not implementing named<br>
> parameters?<br>
><br>
> There is clearly a need:<br>
><br>
> <a href="http://forum.dlang.org/thread/wokfqqbexazcguffwiif@forum.dlang.org#post-pxndhoskpjxvnoacajaz:40forum.dlang.org" target="_blank">http://forum.dlang.org/thread/wokfqqbexazcguffwiif@forum.dlang.org#post-pxndhoskpjxvnoacajaz:40forum.dlang.org</a><br>
<br>
</div></div>Function overloading and named arguments do not play well together, and we<br>
have function overloading, so we're not going to have named arguments.<br>
Walter made that clear at dconf. Now, as Idan pointed out in his reply, work<br>
has been done implement them via a library solution for those that want to,<br>
so you might get something there, but not in the language itself.<br>
<br>
- Jonathan M Davis<br>
<br>
</blockquote></div><br></div>