Slashdot Mirror


Lies Programmers Tell Themselves

itwbennett writes "Everybody lies to themselves now and again in both their personal lives ('my bathroom scale probably needs to be recalibrated') and professional lives ('this code doesn't need commenting'). ITworld has compiled some of the common lies programmers tell themselves. Here are a few examples: 'This bug won't take long to fix.' 'No one could possibly fail to understand my simple user interface.' 'Code is self documenting.' 'My homebrew framework will be nimble, lightweight, debugged, and easy to use.' 'I know this is dirty code, I will rewrite it later.' 'It's just one line... it won't break anything.' '"It works on my machine.' 'I don't need version control.' 'It's written in ____, so it'll be easy to ____.' What would you add to this list?"

18 of 452 comments (clear)

  1. Hofstadter's Law by Kensai7 · · Score: 5, Insightful

    "It always takes longer than you expect, even when you take into account Hofstadter's law."

    --
    "Sum Ergo Cogito"
    1. Re:Hofstadter's Law by arkhan_jg · · Score: 5, Funny

      "I'll just fix this quick and dirty for now, management will allow me time to redo it properly later."

      --
      Remember kids, it's all fun and games until someone commits wholesale galactic genocide.
  2. Lame by Anonymous Coward · · Score: 5, Interesting

    Most of these are obvious and well understood.

    Some (slightly less obvious) ones:
    - Something must be wrong with this library (that is used successfully by everyone else)
    - Theoretically two threads could try to change that variable at the same time, but it’ll never actually happen
    - Just about anything starting with "no one will ever"
    - Anyone who wants to use this class will look at the code / documentation and see that they can't actually use it in that (usually intuitive) manner.

    Also can we please stop posting articles from itworld. They are all the same: tiny bits of content split over a ridiculous number of pages to maximize ad revenue.

    Seriously, this is like 1990s levels of ad spamming. First you have the full window click through ad, then you have ads on every 10 word slide, a click through in the middle of the slides, and then just for good measure the last slide isn’t a content slide but yet another ad!

    I feel like I need 10 levels of toolbars and bonzo-buddy running in the background to really appreciate the experience of this site.

  3. Lies by boundary · · Score: 5, Funny

    "My facial hair makes me look interesting and makes up for my lack of social graces."

    1. Re:Lies by Anonymous Coward · · Score: 5, Informative

      "I don't think anyone will smell this fart."

  4. Number 1 in my experience by mbone · · Score: 5, Funny

    I'll document this code once I'm done.

    1. Re:Number 1 in my experience by pr0fessor · · Score: 5, Funny

      catch(exception x) { //You've been eaten by a grue. } is error handling.

  5. Lie 10 by n1ywb · · Score: 5, Informative

    Lie 10: itworld.com has interesting, informative, insightful, and meaningful content.

    --
    -73, de n1ywb
    www.n1ywb.com
  6. we'll be greeted as liberators by lemur3 · · Score: 5, Informative

    oh uhh lies programmers tell themselves..

    how about

    this new website design is going to be great, our users will love it!

    1. Re:we'll be greeted as liberators by Anrego · · Score: 5, Insightful

      "All our users are complaining bitterly about these changes, but I'm sure once they get used to it they will see we had it right all along."

      See also: gnome

  7. The Whopper by American+AC+in+Paris · · Score: 5, Insightful

    "Well if you let the programmers run the show, things would be so much better."

    --

    Obliteracy: Words with explosions

  8. Re:Commenting code by PvtVoid · · Score: 5, Informative

    Good code rarely needs commenting though. Too many comments are often an indicator of poorly organized code.

    Dear person who thinks that "good code rarely needs commenting": the entire world wants to beat you senseless with a nine iron.

    You're welcome.

  9. How about the IT-WORLD programmers? by dmomo · · Score: 5, Funny

    1) People will enjoy this content more if it's in a slideshows.
    2) It's OK if ad-blocking breaks my core javascript functionality.
    3) Nobody is going to view this site in a modern browser.

  10. Re:abstract wacky name by mrchaotica · · Score: 5, Interesting

    Gentoo is a kind of (species of) penguin, just as Gentoo Linux is a kind of (distribution of) Linux.

    --

    "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

  11. Re:This job is only temporary. by NotDrWho · · Score: 5, Interesting

    Management says that this patch of 60-hour weeks is just a fluke and once everything is back on track it won't happen again.

    --
    SJW's don't eliminate discrimination. They just expropriate it for themselves.
  12. Oh frameworks... by razathorn · · Score: 5, Insightful

    Let us not forget that almost every framework you "should use" started out as a framework that "shouldn't be written." Only after enough people changed their mind, did the original author(s) become visionaries instead of "people who reinvented the wheel." I find that the tendency to "don't write that, it's already been written!" has been greatly blown out of proportion and people are allergic to actual software engineering. In other words, if they do more than extend / implement a predefined interface or glorified configuration on a single class instance... like heaven forbid they define an interface, base class, or object model with multiple things that derive it, then by god, they've gone too far! There is a time and place for frameworks, and realizing that the time and place isn't "every freak'n time" is just as important as not constantly reinventing the wheel.

  13. From Scratch by asylumx · · Score: 5, Insightful

    "If we rewrite this from scratch, it'll be WAY better!"

  14. loyalty by Anonymous Coward · · Score: 5, Funny

    If I keep working these extra hours, the company will reward me with big raises and job security.