Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Adventures in Obscure C Features (gboards.ca)
7 points by germ on Feb 14, 2020 | hide | past | favorite | 1 comment


I have used pretty much the same trick of multiple inclusion to create an extensible options mechanism. That is pretty much the only thing I will use the C preprocessor for anymore, where stringification or token pasting is needed (like defining enums in string form or code form).




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: