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

Macros used right can really help to clean up messy code and/or reduce repeating code to something clearer (e.g. in crypto-code).


Pre-processing macros can reduce repetition, but they are certainly a hack: They are not type-safe. They are not even syntactically safe. A missing brace in one can cause untoward damage down the chain. And getting it right is especially important in crypto-code!




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

Search: