|
|
|
|
|
by nemetroid
2496 days ago
|
|
I would be fine with using spaces if it weren't for all the spaces-users. More specifically, how so many projects seem to go for the shortest common denominator, often just two spaces. I mostly write C++, and agree strongly with the rationale given in the Linux coding style for using 8-char tabs - it promotes better design practices: > Now, some people will claim that having 8-character indentations makes the code move too far to the right, and makes it hard to read on a 80-character terminal screen. The answer to that is that if you need more than 3 levels of indentation, you're screwed anyway, and should fix your program. > In short, 8-char indents make things easier to read, and have the added benefit of warning you when you're nesting your functions too deep. Heed that warning. |
|