I found the last bug in my program!

  • 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.