logoalt Hacker News

king_geedorahyesterday at 1:00 PM3 repliesview on HN

Another win for X macros and for C style in general, though the author didn’t declare it as such.


Replies

psyclobeyesterday at 9:40 PM

Pretty much. Was hoping it would've been a 'reflection slam dunk' but no... same 'ol same 'ol.

spacechild1yesterday at 7:58 PM

The downside is, of course, that it's ugly and very awkward to use.

That's the essence of C++: you're basically trading ergonomics for compile times.

show 1 reply
SuperV1234yesterday at 1:28 PM

Author here. It isn't a clear "win" at all, there are tradeoffs to each approach.