3 ms·
The article argues in favor of assertions in production code but acknowledges that the author's experience is from a very specific field with very specialized c
by gilgoomesh 8y ago
The article argues in favor of assertions in production code but acknowledges that the author's experience is from a very specific field with very specialized constraints and extensive design around recovering from aborted components.
This advice is not obviously applicable to different kinds of programming with different constraints and different environments. As with so many things: one solution does not fit all problems.
- Nomentatus 8y agoYou're gainsaying, but others have dropped empirical evidence on the other side, averring a low to no downside; and my experience is all on the other side too. It would help if you gave some lived examples.