• HairHeel@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    Later on when I want to look productive I’ll delete all those printfs then pay myself on the back for committing a lot of code changes that sprint and for reducing our log storage costs by 75%

    • Bonehead@kbin.social
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      Don’t delete printf statements…wrap them in a “if (DEBUG)” function. You still reduce the log storage costs while simultaneously expanding the code base and giving yourself a way to debug the system later.