<p dir="ltr">Hi,</p>
<p dir="ltr">This would break apart as soon as one of left functions takes more than one parameter.</p>
<p dir="ltr">Best regards,<br>
João Santos</p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, 27 Jan 2017, 22:08 Brent Brinkley, <<a href="mailto:brentbrinkley@gmail.com">brentbrinkley@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="gmail_msg">HI Everyone,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I’m relatively new to the world of python but in my short time here I’ve fallen in love with how readable this language is. One issue that I’ve seen in a lot of languages struggle with is nested function calls. Parenthesis when nested inherently create readability issues. I stumbled upon what I believe is an elegant solution within the elm platform in their use of the backward pipe operator <font face="Menlo" class="gmail_msg"><|</font>. </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Current Ex.</div><div class="gmail_msg"><img id="m_-67223472531155989800A9CD65B-964A-496A-892D-6B1B507524B0" height="72" width="398" src="cid:BE2AF395-B9B4-4DD7-BD24-C15E876AF009" class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Suggested Structure</div><div class="gmail_msg"><img id="m_-672234725311559898027F1C206-B40F-4E59-B6FD-2AF6EB61ACFE" height="71" width="463" src="cid:ED89CE2D-8049-4697-B044-31592BF20527" class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">This aligns with the Zen of Python in the following ways</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><ul class="m_-6722347253115598980MailOutline gmail_msg"><li class="gmail_msg">Simple is better than complex</li><li class="gmail_msg">Flat is better than nested</li><li class="gmail_msg">Sparse is better than dense</li><li class="gmail_msg">Readability counts </li><li class="gmail_msg">Practicality beats purity</li></ul><div class="gmail_msg"><br class="gmail_msg"></div></div><div class="gmail_msg">Ways it may conflict</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><ul class="m_-6722347253115598980MailOutline gmail_msg"><li class="gmail_msg">Explicit is better than implicit</li><li class="gmail_msg">Special cases aren't special enough to break the rules</li></ul><div class="gmail_msg"><br class="gmail_msg"></div></div><div class="gmail_msg">Just curious to see what the rest of the community thinks 😊</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Best Regards,</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Brent</div></div>_______________________________________________<br class="gmail_msg">
Python-ideas mailing list<br class="gmail_msg">
<a href="mailto:Python-ideas@python.org" class="gmail_msg" target="_blank">Python-ideas@python.org</a><br class="gmail_msg">
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" class="gmail_msg" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br class="gmail_msg">
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" class="gmail_msg" target="_blank">http://python.org/psf/codeofconduct/</a></blockquote></div>