3 ms·
I use a text editor that was made this decade, so I don't really mind either way, as long as you pick _one_ for indenting with! And I don't mean "use the same i
by dylan-m 14y ago
I use a text editor that was made this decade, so I don't really mind either way, as long as you pick _one_ for indenting with! And I don't mean "use the same in all of your files." That's fine, but it's common sense. (And indenting is not the same as lining up columns, so I don't mean that either).
What I'm talking about is that some crazy people think tabs are identical to, and indistinguishable from, spaces; just quicker to type. They'll do evil stuff like mandate a width for the tab character, then alternate tabs and spaces at different levels of indentation. (One indent, 4 spaces; two indents: one tab; three indents, one tab and 4 spaces). If I recall correctly, this is one of the auto-format styles you can choose by default in Eclipse. I have never understood why people do it. I think they're just sadists, or it's a clever way to make code read-only.
I prefer indenting with tabs, but if you're indenting with tabs while requiring a specific tab width - for any reason - you are part of the problem and I wish your code a thousand disk failures.