• Greyghoster
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    3
    ·
    4 months ago

    That’s the same as writing tests for software code after writing the code. A mystery without end or reliability.

        • smpl@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          4
          ·
          4 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.