Submitted via IRC for TheMightyBuzzard
The annual Stack Overflow developer surveys often include lots of bad news. "People still use PHP," for example, is a recurring and distressing theme. "Perl exists" is another.
But never before has the survey revealed something as devastatingly terrible as the 2017 survey. Using PHP and Perl are matters of taste. Extremely masochistic taste, certainly, but nobody is wrong for using those languages; it's just the programming equivalent of enjoying Adam Sandler movies. But the 2017 survey goes beyond taste; it goes into deep philosophical questions of right and wrong, and it turns out that being wrong pays more than being right.
Developers who use tabs to indent their code, developers who fight for truth and justice and all that is good in the world, those developers have a median salary of $43,750.
But developers who use spaces to indent their code, developers who side with evil and probably spend all day kicking kittens and punching puppies? Their median salary is $59,140.
Source: ArsTechnica
(Score: 0) by Anonymous Coward on Sunday June 18 2017, @05:18AM
Tabs do not have an adjustable width.
Not on any typewriter I ever used. Almost every single one was adjustable. Almost every software editor somewhere usually has the space length of a tab (usually defaulted to 8, though I am starting to see 4s). All the way back into the 80s. I usually set mine to something 'odd' like 15 to pick out the files that are formatted badly. Then correct the programmers setup. We have a style guide and you better stick to it. None of this 'we are professionals' BS. This used to be a pain depending on which printer you used too as some of them did have fixed length and if your editor mismatched you ended up with a crap printout.
Tab stops were also used for center/right alignment/left alignment/first sentence in paragraph alignment/etc. Depending on how you configured your stops. Not so much anymore as the editors are better at it with style codes.
People who think indenting with spaces means pressing the Space bar multiple times
Which is exactly how I end up using it as for some reason most programs seem to default to tab emitting 1 tab char instead of x spaces. I can configure it but after awhile of jumping from computer to computer and app to app it becomes a pain. So tap the space bar a few times. But thank you for your generalizing sweeping statement of how 'ignorant' people are that do not agree with how you do things.