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

C++ also has template metaprogramming and compile time execution nowadays.

Common wisdom is to leave macros for conditional execution, legacy code and the few cases that still aren't fully designed, namely reflection and metaclasses.



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

Search: