|
|
|
|
|
by Goladus
4538 days ago
|
|
2) It's cramping my style. My code is art, and restricting how I can structure my code is an affront to my very being. To be fair, there are quite a few common cases where Python's syntax is rather inelegant. The need to break out if-then statements into multiple lines, the need for explicit 'return' statements which also have to go on their own line. These things are only indirectly related to whitespace but do sometimes put a lower bound on expressiveness. |
|
Now we're stepping out of the realm of "semantic white space" though. The people I've known to get (literally) red in the face over Python haven't actually used the language and can't do much more than regurgitate stuff like, "but white space!"
> The need to break out if-then statements into multiple lines, the need for explicit 'return' statements which also have to go on their own line.
Unless I'm missing something those are poor examples of the limits of semantic white space:
Sure you can't do stuff like: (That returned `None`)But I don't see how requiring a return statement, or disallowing code like:
is a crime against humanity.