News for hackers. Stuff that matters.
Re:Macros on Steroids: How pure C can benefit from metaprogr... by wudangmonk on Thursday July 22, 2021 @02:18PM (#27922379)
I agree that you shouldn't use the preprocessor for metaprogramming, it sucks. Switching to C++ is not a solution either since its template system is garbage for metaprogramming aswell.

Starting small with a small utility such as this one or creating one of your own is the best aproach in my opinion.

Re:Macros on Steroids: How pure C can benefit from metaprogr... by kaba0 on Friday July 23, 2021 @02:30AM (#27927831)
How are templates garbage? They are one of the most sophisticated metaprogramming tools out there I know of.