Slashdot Mirror


Ask Slashdot: What Are Some Lies Programmers Tell Themselves?

snydeq writes: "Confidence in our power over machines also makes us guilty of hoping to bend reality to our code," writes Peter Wayner, in a discussion of nine lies programmers tell themselves about their code. "Of course, many problems stem from assumptions we programmers make that simply aren't correct. They're usually sort of true some of the time, but that's not the same as being true all of the time. As Mark Twain supposedly said, 'It ain't what you don't know that gets you into trouble. It's what you know for sure that just ain't so.'" The nine lies Wayner mentions in his discussion include: "Questions have one answer," "Null is acceptable," "Human relationships can be codified," "'Unicode' stands for universal communication," "Numbers are accurate," "Human language is consistent," "Time is consistent," "Files are consistent," and "We're in control." Can you think of any other lies programmers tell themselves?

8 of 548 comments (clear)

  1. Lies? by msauve · · Score: 1, Funny

    That they never GOTO work.

    --
    "National Security is the chief cause of national insecurity." - Celine's First Law
    1. Re:Lies? by fisted · · Score: 4, Funny

      "I'll have sex later."

  2. I'm just a hobby programmer but... by Dunbal · · Score: 5, Funny

    "One more compile then I'm going to bed..."

    --
    Seven puppies were harmed during the making of this post.
  3. It compiles... by dkh9 · · Score: 5, Funny

    It compiles, so it has to work. Right?

    1. Re:It compiles... by DickBreath · · Score: 3, Funny

      It works on my machine. Oh, wait.

      --

      I'll see your senator, and I'll raise you two judges.
  4. Re:"Rust will replace C++" by Anonymous Coward · · Score: 5, Funny

    "Java is fast"

  5. Re: uh huh by sycodon · · Score: 4, Funny

    I understand the task
    I have thought of all the possible test scenarios
    I have coded for all possible test scenarios
    The scope will not change

    --
    When Fascism comes to America, it will call itself Anti-Fascism, and tell you to give up your guns.
  6. Be open minded by TsuruchiBrian · · Score: 4, Funny

    "If something seems stupid to me, it is, because I am definitely smart."

    Example:
    "Smart pointers are stupid. I know how to manage memory, and anyone who can't have zero memory leaks directly using malloc and free shouldn't be coding anyway."