5 ms·
Using tabs over spaces is a catastrophic misunderstanding of modern text editors. Spaces are the ONLY one-size-fits-all solution for a multi-developer environme
by tyger11 14y ago
Using tabs over spaces is a catastrophic misunderstanding of modern text editors. Spaces are the ONLY one-size-fits-all solution for a multi-developer environment. Text editors can be configured to SHOW a tab character visually as any number of spaces you want - without changing the code. If someone likes 3 spaces, they can see a tab character as 3 spaces; if someone else likes 8 spaces, they can show each tab as 8 spaces. Treating a tab as a "tab stop" is the mindset of a typewriter user.
- codegeek 14y agoNot sure if I followed what you said. What I mean is that isnt hitting the spacebar 4 times more difficult and annoying than hitting the tab key once ? Yes you can configure tab key for any number of spaces but still the point being about hitting spacebar multiple times.
- kudakeru 14y agoModern editors generally don't require you to hit space four times. There's a "convert tabs to spaces" option so you can hit the tab key, and most of them do auto-indenting anyway.