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

I really hate writing these compile/build time conditional things. It's hard to have tests that it's enabled when it should be and disabled when it isn't, especially if it's in the build system where there's no unit test framework.

And that's with the failure party being just accidentally borking it so the test always fails or always succeeds when it shouldn't. You can see why it's a juicy target for malicious actions.



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

Search: