The many types of asserts and their meaning, and dealing with assert bugs
Posted by: Rico Marianis Performance Tidbits,
on 10 Oct 2015 |
View original | Bookmarked: 0 time(s)
A good way to get a quick rise out of me is to tell me how you’re going to just delete some noisy assert in your code, or worse still, that some assert is “ignorable” – in fact I think the ignore button on the assert dialog is a crime against humanity. I think the only buttons that should be on an assert dialog are debug and exit.
I’m actually surprised how much disagreement I find when discussing how to handle bugs that report assertion failures. ...