• witx@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    And how testable is that solution? Sure macros are helpful but testing and debugging them is a mess

    • RheumatoidArthritis@mander.xyz
      link
      fedilink
      arrow-up
      1
      ·
      9 hours ago

      You mean whether the library itself is testable? I have no idea, I didn’t write it, it’s stable and out there for years.

      Whether the program is testable? Why wouldn’t it be. I could debug it just fine. Of course it’s not as easy as Go or Python but let’s not pretend it’s some arcane dark art

      • witx@lemmy.sdf.org
        link
        fedilink
        arrow-up
        1
        ·
        9 hours ago

        Yes I mean mocking, faking, et. al. Not this particular library but macros in general