I took a data scientist certification course where they recommended 8 spaces to discourage excessive nesting....dumbest thing I ever heard. Lost all credibility in my opinion.
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.
8 is just too much for me, but that is what is nice today, edit your own highlighting, indents, everything...set up your own auto format and minify it or run it through your teams build when you are ready to commit....I knew a guy who would keep everything at the same level I shit you not....he could never explain his code, poor bastard, fortunately I escaped that "think tank".
To each their own, have a beer on me. Cheers to whatever coding religion you follow...
8
u/honestbleeps Reddit Enhancement Suite Mar 27 '15
I feel like you and I are on the losing end of this debate. Everyone's all spaces now. I'm always the outlier with my tabs.