• Greyghoster
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    3
    ·
    23 days 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
          ·
          22 days 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.