Stories
Slash Boxes
Comments

SoylentNews is people

posted by n1 on Sunday June 18 2017, @12:22AM   Printer-friendly
from the not-your-bar-tab dept.

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


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 0) by Anonymous Coward on Sunday June 18 2017, @03:49AM (6 children)

    by Anonymous Coward on Sunday June 18 2017, @03:49AM (#527316)

    Sorry Buzzard, you show no grasp of logic or the bigger team/interoperability picture with your insistance that somehow tabs can be as reliable as using spaces.
    I guess this confirms why I am a programmer who takes home the highest pay.

  • (Score: 2) by The Mighty Buzzard on Sunday June 18 2017, @03:54AM (5 children)

    Nah, my greater wisdom is just too much for PHBs and bean counters to grok.

    Tabs mean: indent this shit however far the person editing it prefers things to be indented

    Spaces mean: I like doing things incorrectly and everybody else should have to conform to my way of doing things

    --
    My rights don't end where your fear begins.
    • (Score: 0) by Anonymous Coward on Sunday June 18 2017, @04:45AM

      by Anonymous Coward on Sunday June 18 2017, @04:45AM (#527334)

      I hate mixing tabs and spaces so bad that I replace all white space with tabs. On a serious note, I don't care as long as it is consistent. Back when I did care, I just set the appropriate hooks with scripts that translated tabs to spaces and back as necessary. I guess if I had to pick, I'm a fan of the idea that items in languages should do one thing, therefore using tabs for indentation and spaces to separate tokens best fits that; and, by being consistent with usage you could help spot errors, like bad copy-pastes or misplaced new-lines.

    • (Score: 0) by Anonymous Coward on Sunday June 18 2017, @04:19PM (1 child)

      by Anonymous Coward on Sunday June 18 2017, @04:19PM (#527509)

      You're just ad bad you fool! "Follow the one true path! Everyone else is just WRONG and doing it their way makes you STUPID! #totallynotfascist #slittheirthroats

    • (Score: 2) by NCommander on Monday June 19 2017, @06:02PM (1 child)

      by NCommander (2) Subscriber Badge <michael@casadevall.pro> on Monday June 19 2017, @06:02PM (#528059) Homepage Journal

      So it was a bad thing that I just ran tab to spaces on the entirety of rehash?

      --
      Still always moving