• smpl@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      I have this in code I’m writing right now…

      #ifdef DEBUG
          #define DEBUG_PRINT(...) printf(__VA_ARGS__)
      #else
          #define DEBUG_PRINT(...)
      #endif
      

      It is the most straighforward way to get the state of things while hammering on the keyboard trying to mash up something that looks like a program.