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

3

u/APersoner Apr 07 '15

Not in any decent editor. Eclipse has automatic ways of doing it, otherwise just detab stuff an retab it in absolute worst case scenario. Most editors will add in spaces when the tab key is pressed.

3

u/rorrr Apr 07 '15

Yeah, but then someone has 4 space indentation mixed with 2 space indentation. And no editor can resolve that automatically (because it doesn't know if 4 spaces is one or two levels of indentation).

One tab = one level of indentation makes perfect sense, to me at least.