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: 2) by frojack on Sunday June 18 2017, @01:52AM (2 children)
What is this standardization thing you speak of. ???
I've worked in some pretty big shops, 50 to 100 programmers and have seen total different "standards" from one desk to the next.
Thing is, you really have to take extra step to see if there are tabs or spaces, and if tabs where are the stops. Once you print it out
or display it in your editor, it usually looks all the same. Your only clue is if open someone elses code you might notice the tabs
messing up, and you probably know the two key sequence to fix that.
No, you are mistaken. I've always had this sig.
(Score: 0) by Anonymous Coward on Sunday June 18 2017, @02:05AM (1 child)
Bah! Humbug!
Click the little checkbox that says "Show Whitespace" and you're good... C'mon man, are you really that dense?
(Score: 0) by Anonymous Coward on Sunday June 18 2017, @04:00AM
I know, right? This is why I insist everyone use a hex editor for writing/reading source code, for interoperability reasons to accomodate those tab using assholes with their varying display width issues they inflict on the rest, or maybe because someone's editor will convert the tab chars to some varying number of spaces chars upon save.
It's so simple!
Look, a space is always a space. It takes up exactly one char width on display, not some unpredictable amount like tabs. Spaces also never get converted to another char, unlike tabs which sometimes do. If you insist that you need tabs because you need to set your own custom visual indentation level to understand source code, you are fucking stupid. Find another job because you are barely coping.