News for hackers. Stuff that matters.
Re:Tabs, spaces and your salary – how is it really? by pflats on Tuesday June 20, 2017 @12:41PM (#14596108)
I keep thinking that "employer" is the biggest confounding variable here. A quick survey of some of the big players, whom I would presume pay premium salaries, seem to favor spaces over tabs.

e.g.

https://google.github.io/styleguide/cppguide.html#Spaces_vs....

https://docs.microsoft.com/en-us/dotnet/csharp/programming-g...

I can't find an Apple style guide, but the first file on the most recent commit to Swift uses spaces as well.

https://github.com/apple/swift/blob/e0f75bf841631a50f9ab6502...

Re:Tabs, spaces and your salary – how is it really? by var_explained on Tuesday June 20, 2017 @04:14PM (#14598182)
That was an early hypothesis I considered, but it doesn't fit the data. That would show up as a larger tabs/spaces salary gap for big companies, when in fact the gap is similar across all company sizes:

https://twitter.com/drob/status/875493967865008129

Perhaps it could play a role as a more indirect effect: people leaving Google/Microsoft/Apple/etc, starting new companies or joining senior positions at others, and spreading this particular practice.

Re:Tabs, spaces and your salary – how is it really? by jcranberry on Tuesday June 20, 2017 @06:54PM (#14599258)
Only informative comment thread I've seen so far. I was wondering about this.