Pretty simple: you use spaces because you're aware that there is more than one IDE/editor in this world and who knows what your code will get opened with tomorrow. This means you consider consequences beyond "but it works on my machine" so you're a better programmer. Ergo, higher salary.
Developers who use spaces make more money than those who use tabs
71–80 of 690 posts
Re: Developers who use spaces make more money than those who use tabs
#72Maybe it's an age thing : older devs tend to prefer spaces and are usually more paid than young devs.
Re: Developers who use spaces make more money than those who use tabs
#73Re: Developers who use spaces make more money than those who use tabs
#74Older people use spaces. Older people make more money because they are further along in their career. Thus it only appears spaces make more than tabs, when it's really about age. Just a guess.
The graph has experience as its y axis.
Re: Developers who use spaces make more money than those who use tabs
#75>Developers who use spaces make more money than those who use tabs Sure, but how many spaces? grabs popcorn
Where does using vim to insert four Spaces everytime I press tab leave me?
Visually I can have it display in my editor of choice (Kakoune at the moment) however I want.
I guess I'm just saying, I would have thought the most common answer to this question would be: Whatever my employer / language standards dictate.
Re: Developers who use spaces make more money than those who use tabs
#76Older people use spaces. Older people make more money because they are further along in their career. Thus it only appears spaces make more than tabs, when it's really about age. Just a guess.
Re: Developers who use spaces make more money than those who use tabs
#77Re: Developers who use spaces make more money than those who use tabs
#78Pretty simple: you use spaces because you're aware that there is more than one IDE/editor in this world and who knows what your code will get opened with tomorrow. This means you consider consequences beyond "but it works on my machine" so you're a better programmer. Ergo, higher salary.
Re: Developers who use spaces make more money than those who use tabs
#79Earlier quoted context omitted.
Which is exactly what the article says.
> The model estimated that using spaces instead of tabs leads to a 8.6% higher salary (confidence interval (6%, 10.4%), p-value Maybe I'm not up on my statistics lingo, but saying "using spaces instead of tabs leads to a higher salary" sounds much more causal than "using spaces instead of tabs is correlated with a higher salary." If they're going to say something leads to something else, I don't see how that one's ju…
Re: Developers who use spaces make more money than those who use tabs
#80Pretty simple: you use spaces because you're aware that there is more than one IDE/editor in this world and who knows what your code will get opened with tomorrow. This means you consider consequences beyond "but it works on my machine" so you're a better programmer. Ergo, higher salary.
I think there's probably some truth to considering existing norms and thinking ahead, but find it unlikely to be the main confounder. How do tabs fail to work in other editors/IDEs?