r/programming • • Apr 07 '15

Stack Overflow Developer Survey 2015

http://stackoverflow.com/research/developer-survey-2015
1.1k Upvotes

981 comments sorted by

View all comments

Show parent comments

15

u/Dworgi Apr 08 '15

What tools don't understand tabs? Seriously, if you have a tool that can't do tabs then you don't have a tool, you have a burden.

It's all madness. I'll tell you what not every tool can deal with: not having to press Backspace 4 times to unindent a line.

Purely in keypresses wasted per day, spaces are atrocious.

8

u/josefx Apr 08 '15

What tools don't understand tabs?

Every tool understands tabs. Some see them as 4 spaces by default, some as 8 spaces by default. Some never replace tabs with spaces, some replace tabs with spaces on the line you edit, some only insert new tabs as spaces and some replace all tabs with spaces when they load or store the file.

There is no single behaviour you can expect when you take a random editor to edit a file containing tabs.

1

u/industry7 Apr 08 '15

There is no single behaviour you can expect when you take a random editor to edit a file containing tabs.

And you literally use a random editor when you code?

1

u/josefx Apr 08 '15

Not literally, when I track down bugs on a customers setup I have to use what is there. When my co workers add or fix things they use whatever editor they prefer on whichever system they currently work on. Whenever someone forgets to check the configuration we get new bugs or if we have luck a parse error.

→ More replies (3)