• stebo@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    ·
    7 days ago

    And I always think I write good comments until a year later I’m like these comments don’t help shit

      • scutiger@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        6 days ago

        Yeah, write it for the person who has to replace you when you inevitably get laid off so that your company can hire someone for half your salary.

    • fayoh@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      7 days ago

      Me at a previous workplace.

      -This is a piece of shit, who is the code owner of this module.

      • Ah, it’s me (“inheriting” code ownership when someone left was common)

      • Who did this change

      • Ah, it was me

      • Surely I just made a minor change to this line here, who wrote the function.

      • it was me, it was me all the way down

      Fits the general theme of the thread as it was not giving any trouble for a year before being found.

  • danc4498@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 days ago

    There’s an exponential amount of time between each panel. 1 hour, 5 hours, 2 days for the answer.

  • Onno (VK6FLAB)@lemmy.radio
    link
    fedilink
    arrow-up
    13
    ·
    7 days ago

    Accurate, except the bottom right panel only happens in very limited circumstances, hardly ever after a year has passed.

    Source: I’ve been writing software since 1983 or so.

  • Reptorian@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    7 days ago

    Sometimes, I just rewrite my code until it is good enough. Other times, I leave it to my memory, so I can figure it out later. And others, I’m just not happy about it, like the times I did bigbin2dec and it would only work well with something like thread-ripper.