So. Silicon Valley’s s3e6 aired last night… One of the big themes of the episode was the ongoing war between Tabs and Spaces.
I wanted to know what you guys think.
Tabs
Spaces
0voters
Personally, I’m a Tab guy. A Tab means that you go in one scope. You can set a tab to be whatever you want (i.e., 2-space offset; 4-space; 8-space; etc.). Then, other people can say “I want a TAB to mean this,” but they still use a TAB. This way, you get to code with your column offset; others with theirs.
Here’s article on the subject, albeit a dissenting one.
I actually coded Python in nano with 8-space-tabs for a time. For short scripts it isn’t that bad. But once you start building bigger projects with loops in loops and exception-handling in the inner loop and probably some if-else in there too - you really want to reduce that space