3 ms·
Why is that? My code has whitespace that reasonably closely matches Python's rules regardless of the language. I only say "reasonably closely" because I don't
by reificator 9y ago
Why is that?
My code has whitespace that reasonably closely matches Python's rules regardless of the language. I only say "reasonably closely" because I don't spend enough time in Python to really be sure about any potential gotchas.
But like PEP 20 says:
> Explicit is better than implicit.
Brackets are explicit. Whitespace is implicit.
- kevinmgranger 9y agoIndentation is explicit.
- reificator 9y agoIndentation is implicit, because you can't see the characters that cause it without turning on whitespace rendering. You only can tell it's there by either moving the cursor around or by observing gaps between characters and other characters or characters and the left margin. And the end of a block, the lack of indentation that denotes that, is absolutely implicit.