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: 2) by Whoever on Sunday June 18 2017, @05:39AM (2 children)

    by Whoever (4524) on Sunday June 18 2017, @05:39AM (#527361) Journal

    It does if you use tabs for indentation and spaces for alignment.

    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 2) by Snotnose on Sunday June 18 2017, @06:07AM (1 child)

    by Snotnose (1623) on Sunday June 18 2017, @06:07AM (#527367)

    So, you mix tabs and spaces, which is the worst of all worlds.

    For fuck's sake people, be consistent. Use tabs at whatever tabstop you like. Use spaces. But don't mix them the fuck up cuz those of us who have to work on your code have no fucking clue how you set things. For C/C++/Perl/ whatever, we can deal. For Python, we're fucked. In the ass. Without lube.

    --
    Why shouldn't we judge a book by it's cover? It's got the author, title, and a summary of what the book's about.
    • (Score: 0) by Anonymous Coward on Sunday June 18 2017, @12:27PM

      by Anonymous Coward on Sunday June 18 2017, @12:27PM (#527434)

      So, you mix tabs and spaces, which is the worst of all worlds.

      I think you need to clarify what you mean by "mix", because so long as every line only uses tabs for indentation, there is no mixing going on.

      For C/C++/Perl/ whatever, we can deal. For Python, we're fucked. In the ass. Without lube.

      Only if you're so inflexible as to try and force your preferred C style onto your Python code, and not attempt something more appropriate for the language.