4 ms·
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,
by pflats 9y ago
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._Tabs https://google.github.io/styleguide/cppguide.html#Spaces_vs....
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/inside-a-program/coding-conventions#layout-conventions 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/e0f75bf841631a50f9ab6502dc6c13b3abcaaf1c/stdlib/public/SDK/CoreGraphics/CoreGraphics.swift https://github.com/apple/swift/blob/e0f75bf841631a50f9ab6502...
- var_explained 9y agoThat 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 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.
- jcranberry 9y agoOnly informative comment thread I've seen so far. I was wondering about this.