Live data from Hacker News

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

stackoverflow.blog

31–40 of 690 posts

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

#32
post #22
post #9

Earlier quoted context omitted.

But there's an actual causation here (you need more money to buy a Tesla). Use of tabs and salary don't seem to have any relation one way or an other. My personal guess would be that using spaces is a practical decision and might be more popular towards older, more experienced devs (who are therefore better paid). On paper tabs sounds better, they're "configurable", you should indent with tabs and align with spaces,…

Personally, I have bad experience with tabs. Experience and salary are correlated. Also some languages are "tab friendly" and there are correlations between language and salary; see previous HN posts on the topic.

I'm thinking this has more to do with it.

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

#36

correlation != causation

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 justified over the reverse: "having a higher salary leads to using spaces." Isn't that's just as valid a conclusion from the data?

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

#37
post #9
post #4

I needed a good laugh this morning. But of course this is pretty bogus relationship. People who drive Teslas make more money than those who drive Gremlins.

But there's an actual causation here (you need more money to buy a Tesla). Use of tabs and salary don't seem to have any relation one way or an other. My personal guess would be that using spaces is a practical decision and might be more popular towards older, more experienced devs (who are therefore better paid). On paper tabs sounds better, they're "configurable", you should indent with tabs and align with spaces,…

[deleted]
Post reply on HN