• OpenStars
      link
      fedilink
      English
      arrow-up
      5
      ·
      23 days ago

      Which is all the easier to do when you start off with a higher number…

      • Acters@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        23 days ago

        Add heavily verbose/redundant math equations that take up multiple lines with each operation saving to a new variable, then either decrease the number of variable declarations or condense/simplify the math occasionally. Repeat with each new function. Killing two metrics at once LOC and the removal of LOC for older functions. Guaranteed promotions. lol

    • meiti@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      24 days ago

      I love deleting code, including my own, more than writing code. That’s a killer metric imo.