2 ms·
but can you tell at an instant's glance whether something's indented by 8 or 12 spaces when it's preceded by a paragraph indented by 32 spaces? No, but the pro
by icebraining 15y ago
but can you tell at an instant's glance whether something's indented by 8 or 12 spaces when it's preceded by a paragraph indented by 32 spaces?
No, but the problem there isn't the whitespace per se, but the 32 spaces. To quote Linus on the Linux Coding Style guide:
If you need more than 3 levels of indentation, you're screwed anyway,
and should fix your program.
And the Zen of Python:
Flat is better than nested.
In conclusion, if telling nested levels apart is a problem, that's a code smell, not a problem of the indentation system.