Live data from Hacker News

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

stackoverflow.blog

241–250 of 690 posts

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

#241
post #62

Earlier quoted context omitted.

yeah, just because in 2017 storing source code is the most expensive thing for a company. but really, the storage is almost free nowadays...

Seems unfair to downvote you just for misunderstanding, that was sarcasm friend.

I've grown so tired of sarcasm. Online and in real life people are often saying the exact opposite of what they mean. We have to pick up the sarcasam to truly understand.

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

#242
post #62

Earlier quoted context omitted.

yeah, just because in 2017 storing source code is the most expensive thing for a company. but really, the storage is almost free nowadays...

Seems unfair to downvote you just for misunderstanding, that was sarcasm friend.

[deleted]

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

#244
post #102

Earlier quoted context omitted.

Additionnaly diff/merge tool tend to be inconsistent. So it looks good on your editor, but when I am doing your code review, alignement is totally broken. In theory, it should be easy enough to ask people to have consistent settings across all tools, but it is a bit like herding cats. Sadly most people do not even realize it could look differently without their settings. (I could ignore whitespaces when doing reviews…

Seriously? When you start on a project you configure your IDE to match the project's conventions. If you are in a mentoring role you instruct your jr developers to do the same, first thing, before writing any code. This has never been an issue at any place I ever worked. If a PM can't get their developers to do something as simple as that then you have larger organization problems than code formatted weirdly. As well…

On a very large codebase, developed over decades, not months or years, by thousands of individual teams, using multiple versions of multiple IDE's, some of which didn't exist when the project started, across different languages, also some of which didn't exist when the project started, this is not so simple.

Unless the project's settings are to use spaces.

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

#245
post #56

Could it be that a few large, well-compensating employers are shifting the result? (E.g., https://google.github.io/styleguide/cppguide.html#Spaces_vs.... )

Could well be. I know that Google for sure requires spaces, and some cursory Googling leads me to the believe that Facebook does as well. Does anyone have information on Amazon, Microsoft, Apple, etc.?

Of course, if all of the top companies are requiring spaces, then there's probably a reason for that, and its impact on salary data is thus meaningful, not just a spurious correlation.

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

#246

The most confusing thing about this result is that go shows a high level of space-preferential salary difference. Go programmers who use spaces make ~20k more (at the median) than developers who don't. Only, in Go, you don't have a choice -- gofmt enforces tabs only (with spaces for alignment). So something seems odd there.

Without doing too much investigation: That would be resolved if (1) participants were allowed to select more than one language and (2) Google is over-represented as an employer of participants who selected Go.

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

#249
post #56

Could it be that a few large, well-compensating employers are shifting the result? (E.g., https://google.github.io/styleguide/cppguide.html#Spaces_vs.... )

that would be the most logical explanation, but the article mentions that "The effect is smaller in Europe and especially large in India, but it does appear within each country, suggesting this isn’t the sole confounding factor." Which makes me think that there are other factors at play that add up.
Post reply on HN