I found the last bug in my program!

    • Mad_Punda.de@feddit.de
      link
      fedilink
      arrow-up
      5
      ·
      6 months ago

      I often incorporate features into my software that ensure it shuts down automatically on certain actions, or when you’ve used it for too long. So you can go out and see some nature. It’s totally not crashes.

  • AdamEatsAss@lemmy.world
    link
    fedilink
    arrow-up
    28
    ·
    6 months ago

    As a senior dev I can confidently tell you that isn’t a bug. The code was written to do it that way, and the code is right, so it must be right. Maybe there is a bug in what you think it should do.

    • neclimdul@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      6 months ago

      It sounds like a joke but as another senior dev, one of the big lessons I’ve learned is getting really good at capturing all the requests that come in and who approved them.

      It’s a bit of cya, but mostly so I can say “I can change that but it’s not a bug. It’s what was requested for this to do last year. Here’s the discussion” It’s surprising how often that results in “Oh yeah, that was for x. Let’s not touch it.” Or “oh that’s not a quick fix, let me come back with more information” etc

      • Hazzia@discuss.tchncs.de
        link
        fedilink
        arrow-up
        5
        ·
        6 months ago

        In my own workplace, it’s sometimes resulted in massive rabbithole searches along the lines of “this doesn’t seem right. Why would this even be designed this way if it wasn’t intentional?” Which then becomes asking even more senior devs who had been there for decades to scour decades old emails and/or hitting up another decades senior dev who’s now on another project on the other side of the country to check their emails until we eventually figure out why it was, in fact, intentional.

    • palordrolap@kbin.social
      link
      fedilink
      arrow-up
      12
      ·
      6 months ago

      In some interpretations of “bug-driven” programming, no file, or perhaps an empty file, is an instance of the zeroth-bug: The project does not exist.

      One could argue that this bug zero is the true ancestor of all other bugs. There’s something satisfyingly set-theoretic about it.

  • redcalcium@lemmy.institute
    link
    fedilink
    arrow-up
    10
    ·
    6 months ago

    We all got into this mess because some scientists from a long time ago figured out how to put lightning into a slab of rock to trick it into thinking.