2 ms·
That's not true. For example, I prefer 2-space indents, but I use 4-space indents in Python because that's the convention.
by xigoi 5y ago
That's not true. For example, I prefer 2-space indents, but I use 4-space indents in Python because that's the convention.
- syockit 5y agoPaired with a characters-per-line limit, 4-space indents forces you to better modularise your so that it doesn't nest too deep (which usually happens when your code is becoming too complex) so I guess that's the wisdom behind the convention.