1. The semantics of the ‘or’ keyword. I know it’s supposed to make it readable, as it currently exists(i.e: read boolean values of left side expression, and if false read right side of the expression and return whichever is true. False if both are false.). I’d rather have it return True or False instead. I think that’s more logical for a programmer, and perhaps that’s part of python being not a purely-functional language.
2. The distinction between expression and statement.
3. Side-Effects: While it’s possible to write code that provides functional interface, it(interpreter) does not guarantee no side-effects/assignments.
from What I would change about python?
from Tumblr http://ift.tt/1TJ0M11
via IFTTT
from What I would change about python?
from Tumblr http://ift.tt/1YUBayt
via IFTTT
from What I would change about python?
from Tumblr http://ift.tt/1RmDB70
via IFTTT