|
|
|
|
|
by shrimp_emoji
2420 days ago
|
|
>spaces vs. braces: I don't hate braces, but spaces makes it more readable Really?? This is my least favorite thing about Python. D: It can't possibly be more readable when you're talking about large code blocks. It just happens that we're never supposed to be talking about large code blocks in Python. "If you want to write a lot of code, you use another language," they say -- probably one with braces, which syntax highlighters can match-highlight on. In Python, you just hope the indentation is far enough to make it obvious where something ends and another thing begins. |
|
And if Python's design seems to discourage over-indentation and oversized code blocks, brilliant.