Live data from Hacker News

Developers who use spaces make more money than those who use tabs

stackoverflow.blog

51–60 of 690 posts

Re: Developers who use spaces make more money than those who use tabs

#51
I've been using prettier.js in my JS projects for a few months and honestly I can't imagine going back to formatting my own code. It would be like making all of my own clothes or something. Who has time for that?

The Go community was on to something with gofmt (even if they did decide on tabs).

Re: Developers who use spaces make more money than those who use tabs

#54
post #42

This does not mean that changing from tabs to spaces will increase ones income. I would expect there simply is a confounding factor that the author did not look at. Maybe the info is not in the data. I can imagine that the space/tab choice is related to the "upbringing" of the developer. Maybe which language or editor they used first in their life. Or maybe it's related to culture. For example when using IRC, tabs ar…

Yes, eg. many languages have spaces conventions formalized and those languages may pay more to develop in.

Re: Developers who use spaces make more money than those who use tabs

#55
post #27

>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?

That's spaces. Or at least that's what I answered when I took this survey and I do the same thing in vim and all other IDEs.

Re: Developers who use spaces make more money than those who use tabs

#57
post #42

This does not mean that changing from tabs to spaces will increase ones income. I would expect there simply is a confounding factor that the author did not look at. Maybe the info is not in the data. I can imagine that the space/tab choice is related to the "upbringing" of the developer. Maybe which language or editor they used first in their life. Or maybe it's related to culture. For example when using IRC, tabs ar…

If you hit Tab in Notepad and hit save you get a file with tabs.

If you hit Tab in IntelliJ or a related IDE you get a file with spaces.

If you hit Tab in an older version of VS (the kind you'd expect in certain types of settings where high pay is not usually expected) you get tabs, but in newer versions you get spaces (with defaults)

Re: Developers who use spaces make more money than those who use tabs

#60
post #42

This does not mean that changing from tabs to spaces will increase ones income. I would expect there simply is a confounding factor that the author did not look at. Maybe the info is not in the data. I can imagine that the space/tab choice is related to the "upbringing" of the developer. Maybe which language or editor they used first in their life. Or maybe it's related to culture. For example when using IRC, tabs ar…

Yes, eg. many languages have spaces conventions formalized and those languages may pay more to develop in.

This is already accounted for in the article, the data seems to indicate this even in the same language, and consistently does so across all languages.
Post reply on HN