4 ms·
This is a non-issue. Just follow PEP 8, which clearly suggests to "Use 4 spaces per indentation level." PEP 8 has been around for over a decade, so there's no
by PommeDeTerre 14y ago
This is a non-issue. Just follow PEP 8, which clearly suggests to "Use 4 spaces per indentation level."
PEP 8 has been around for over a decade, so there's no excuse for not following its recommendations.
- steveklabnik 14y agoEven Rubyists always use 2 spaces, no tabs, even though whitespace is (mostly) insignificant.
- kamaal 14y agoHaving to follow a indentation spec just to ensure your code runs is too much rigidity to ask of a programmer.
- Daishiman 14y agoNo, not really. All projects involving more than one coder involve coding standards, and practically all languages have a single set of well-defined coding standards(Go, Python, Java, C#, among others). Coding standards are the most time-wasting form of bicycle shedding. Choose one and stick with it. gofmt is fantastic, and so is PEP8.