Programmers who uses spaces in their code get paid more than those who use tabs
No joke. Spaces vs. tabs has literally been dubbed the "eternal holy war," and is the subject of many a heated debate.
The debate centers on how to best line up those indented lines so that they are uniform, making the code easier to read.
Spaces vs. tabs was made famous by HBO's comedy "Silicon Valley" when the hero character, Richard Hendricks, broke up with his engineer girlfriend because she uses spaces ... and he's a tabs guy.
It's been the subject of research, too, like when a Googler analyzed a billion files of programs to find out which technique programmers preferred. Short answer: spaces, by a mile.
Now it appears the spaces people have another thing going for them: They make more money, according to analysis done by Stack Overflow, a site where developers answer each other's questions. Stack Overflow does a massive salary survey every year. This year it asked developers whether they used spaces or tabs. Over 12,000 programmers who shared their salaries answered that question.
Stack Overflow's data scientist David Robinson analyzed that data and discovered that coders who use spaces earn on average nearly 9% more than the ones who use tabs, even if they have the same amount of experience. The spaces folks earned more than tabs across all subsets of developers, too: programming language, education, company size, Robinson found.
Obviously, using spaces is not the fundamental reason why those folks are making more money. The survey points to a correlation, not a cause. There are other reasons that developers who use spaces are are doing work that pays more, but the data provided no real clues as to what those reasons were.
But this is clearly another feather in the cap of the spaces people. Will it help end the debate of which technique is better? Not likely.
- Colon cancer rates are rising in young people. If you have two symptoms you should get a colonoscopy, a GI oncologist says.
- I spent $2,000 for 7 nights in a 179-square-foot room on one of the world's largest cruise ships. Take a look inside my cabin.
- An Ambani disruption in OTT: At just ₹1 per day, you can now enjoy ad-free content on JioCinema
- SC rejects pleas seeking cross-verification of votes cast using EVMs with VVPAT
- Ultraviolette F77 Mach 2 electric sports bike launched in India starting at ₹2.99 lakh
- Deloitte projects India's FY25 GDP growth at 6.6%
- Italian PM Meloni invites PM Modi to G7 Summit Outreach Session in June
- Markets rally for 6th day running on firm Asian peers; Tech Mahindra jumps over 12%
- JNK India IPO allotment date
- JioCinema New Plans
- Realme Narzo 70 Launched
- Apple Let Loose event
- Elon Musk Apology
- RIL cash flows
- Charlie Munger
- Feedbank IPO allotment
- Tata IPO allotment
- Most generous retirement plans
- Broadcom lays off
- Cibil Score vs Cibil Report
- Birla and Bajaj in top Richest
- Nestle Sept 2023 report
- India Equity Market