Re:Macros on Steroids: How pure C can benefit from metaprogr...
by davidwf on Thursday July 22, 2021 @07:28PM
(#27925559)
One use case that I'm really excited about considering this for is testing! I'm currently working on a project that uses a very straightforward C style and for the mainline processing we don't see a lot of duplication problems and aren't using macros much at all. However, as we try hard to get high unit test coverage I often find myself doing "macro magic" in my tests to remove boilerplate, and I'm excited to try out this tool to make our tests more awesome.
[ Parent
| on HN ]