HI Everyone,
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 <|.
Current Ex.
Suggested Structure
This aligns with the Zen of Python in the following ways
Simple is better than complex
Flat is better than nested
Sparse is better than dense
Readability counts
Practicality beats purity
Ways it may conflict
Explicit is better than implicit
Special cases aren't special enough to break the rules
Just curious to see what the rest of the community thinks 😊
Best Regards,
Brent
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/