• aramis87@fedia.io
    link
    fedilink
    arrow-up
    11
    ·
    1 day 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 …

    • Yaky@slrpnk.net
      link
      fedilink
      English
      arrow-up
      6
      ·
      20 hours 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.