• aramis87@fedia.io
    link
    fedilink
    arrow-up
    11
    ·
    5 days ago

    Oh god, the comments I put in the code, explaining what I was doing and why, and how to test that the product had been fixed before changing my code, because I just knew some junior codebro was going to come in and think, “I should clean this code up!” and they’d have no idea why it wasn’t working anymore …

    • Benjaben@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      13 hours ago

      Old comment by now, but you’re a lovely engineer for that and I, for one, appreciate you lol

      • aramis87@fedia.io
        link
        fedilink
        arrow-up
        2
        ·
        11 hours ago

        Lol - longest necro I’ve had was someone who came back with a comment like three and a half years later, so you’re fine! And thank you for the compliment! :)

    • Yaky@slrpnk.net
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 days ago

      Thank you for your comments.

      Nothing irritates me more than walls of code without any comments and the “cOdE sHoUld bE sElf-DoCuMenTiNg” attitude. No, it’s impossible to describe complex industry-specific processes by naming your variables and functions nicely.