<p dir="ltr">I think it's a great idea personally. It's explicit and obvious. "lamda" is too computer sciencey </p>
<div class="gmail_quote">On Sep 19, 2013 1:55 PM, "Ben Gift" <<a href="mailto:benhgift@gmail.com">benhgift@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>I think the lambda keyword is difficult to understand for many people. It would be more pythonic to use an empty def call instead. <br><br></div>For instance this:<br><br></div> words.sort(key = lambda x: x[2])<br>
<br></div>could look like this:<br> <br> words.sort(key = def (x): x[2])<br><br></div>It's obvious and explicit that we're creating an unnamed, anonymous function this way. <br></div>
<br>_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/joe.pinsonault%40gmail.com" target="_blank">https://mail.python.org/mailman/options/python-dev/joe.pinsonault%40gmail.com</a><br>
<br></blockquote></div>