Hacker News new | ask | show | jobs
by inanutshellus 2493 days ago
This has come up before. My theory is this:

Tabs are great if you work by yourself. If you work with others, you need more complicated rules to be followed like "tabs for indentation, spaces for alignment."

So...

My theory is that coders using spaces have worked in more places and/or larger places, which tend to end up paying more.

4 comments

> Tabs are great if you work by yourself. If you work with others, you need more complicated rules to be followed like "tabs for indentation, spaces for alignment."

Except you don't, because you could just never align code, which completely eliminates the problem. I find that aligning code is way more trouble than it's worth.

This is one of those correlation != causation articles. Probably something symptomatic as you describe.
I suspect it could be large, well-paying companies with prescriptive style guides skewing the results. eg, Google standardized on spaces for all their languages I've interacted with, maybe some others did too.
According to the blog post, the effect remains when company size is taken into account.