Comment by fc417fc802
4 days ago
This is why in my own code I define macros assume and require. The former documents assumptions, asserts for debug builds, and calls __builtin_unreachable for production builds. The latter documents validated requirements, always runs, and is guaranteed to produce a core dump if violated.
Nomenclature is important.
No comments yet
Contribute on Hacker News ↗