News for hackers. Stuff that matters.
Re:Developers Who Use Spaces Make More Money Than Those Who ... by bpchaps on Friday August 16, 2019 @04:06PM (#20719183)
Here's one: when your code has no tabs, it's very obvious that whitespace is just a bunch of spaces. With tabs, it's harder to say, especially when mixed. It's one less thing to think about.
Re:Developers Who Use Spaces Make More Money Than Those Who ... by _bxg1 on Friday August 16, 2019 @04:08PM (#20719202)
I'm 100% on board with not mixing them and making sure everyone on the team is on the same page. But that's a red herring; it can easily be remedied with linters/editor settings. The same is true for preventing tabs.
Re:Developers Who Use Spaces Make More Money Than Those Who ... by bpchaps on Friday August 16, 2019 @05:19PM (#20719815)
Eh, not really. A string with a tab is still hard to tell apart from a string with spaces. Linters don't help there (why would they?). And no way in hell am I going to change Vim to display them differently!
Re:Developers Who Use Spaces Make More Money Than Those Who ... by _bxg1 on Friday August 16, 2019 @05:37PM (#20719966)
My linter (eslint) underlines any whitespace that mixes tabs and spaces.

My editor (VSCode) notifies me if I open a file that has any mixed tabs and spaces and offers to fix them all with one click.

> no way in hell am I going to change Vim to display them differently!

Sounds like we've found the problem.

Re:Developers Who Use Spaces Make More Money Than Those Who ... by IshKebab on Friday August 16, 2019 @04:57PM (#20719619)
Nearly all editors have some kind of "show whitespace" option now.
Re:Developers Who Use Spaces Make More Money Than Those Who ... by bpchaps on Friday August 16, 2019 @05:25PM (#20719863)
Not the main one I use!
Re:Developers Who Use Spaces Make More Money Than Those Who ... by _bxg1 on Friday August 16, 2019 @05:50PM (#20720062)
Re:Developers Who Use Spaces Make More Money Than Those Who ... by bpchaps on Sunday August 18, 2019 @12:20AM (#20728213)
I often manage thousands of servers. This is not a viable option for me.