• gerryflap@feddit.nl
    link
    fedilink
    arrow-up
    50
    ·
    8 months ago

    I’m a programmer, so this is pretty much a constant thing haha. Sometimes you write the smartest shit imaginable, and sometimes you waste 4 hours on something extremely simple.

    • Cratermaker@discuss.tchncs.de
      link
      fedilink
      arrow-up
      9
      ·
      8 months ago

      I’ve had many other jobs and few experiences in them have been as humbling as programming. My favorite is trying everything to fix an issue then realizing the problem is that you’re pointing at the wrong database or running the wrong branch.

      • mindbleach
        link
        fedilink
        arrow-up
        1
        ·
        8 months ago

        It’s a puzzle game where all the puzzles are created by your own stupidity.

    • ChapulinColorado@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      8 months ago

      I was having a good weekend until you reminded me of the hibernate behavior I need to continue troubleshooting Monday 😔

    • mindbleach
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      Programming is the gradual collection of mantras. One of the strongest I have is: the easy stuff is the hard stuff.

      I made a shooter on NES. Splitscreen multiplayer took five hours to implement. I’m still debugging the pause function.

      • gerryflap@feddit.nl
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        It’s so random indeed. Recently I spent weeks on end debugging a “simple table” with a few columns. Constantly had data races, weird edge cases, and bugs that took days to appear. And then sometimes you just ace something complicated in one go and wonder “why did this look so hard”.