• sunbytes
      link
      fedilink
      arrow-up
      12
      ·
      1 month ago

      And decent variable names if you can, as well.

      No magic numbers!

      • ZILtoid1991
        link
        fedilink
        arrow-up
        6
        ·
        1 month ago

        WYM, I can’t just name my functions foo() and my variables single letters? /s

    • ipkpjersi@lemmy.ml
      link
      fedilink
      arrow-up
      7
      ·
      1 month ago

      Make sure to remember to update your comments too, otherwise it causes even more confusion when something works differently than it says it does.