|
|
|
|
|
by jes
761 days ago
|
|
This has been exactly my strategy when writing software for medical devices, in my case, ultrasound systems. You have to help other developers understand how and when to use asserts, and then you have to test the developed device very well, so that it won't assert in the field. Yet if it does assert in the field, it's highly likely that it will get a lot of management attention. |
|
That’s a key point: you don’t want debug-only asserts to be used where you need production error handling.