Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

X Macros! Mostly because it's one of the more understandable and funky things you can do with the preprocessor. You can do some crazy stuff with them :)

https://blog.gboards.ca/2020/02/adventures-in-obscure-c-feat...

https://en.m.wikipedia.org/wiki/X_Macro




Oh, that has a name. In C, often used with an include file instead of a body macro, and often (?) used where code wants multiple internal representations of some table of data.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: