by enriquto · 6y ago · 0 comments
The JPL coding guidelines for C [1] are an amusing, first-hand read about this stuff. Not sure if you would qualify them as "modern approaches".
[1] https://en.wikipedia.org/wiki/The_Power_of_10:_Rules_for_Dev...
I am guessing the idea is to catch runtime errors in the test phase, and assertions are disabled for the production build.