2 ms·
Python makes a conscious decision to embrace statement-oriented code, for better or worse. There's a case to be made that it makes things more readable in an i
by brundolf 6y ago
Python makes a conscious decision to embrace statement-oriented code, for better or worse. There's a case to be made that it makes things more readable in an intuitive sense, while of course it also opens you up to more statefulness/side-effects. If nothing else, I respect the dedication to consistency.
To give a concrete reason: Python's significant whitespace makes nested expressions much trickier to write/parse