Frank Heckenbach wrote:
Mirsad Todorovac wrote:
... snip ...
With the editor example you have a point - but writer of the editor could disable runtime checks in production binary.
As I said, a debugging tool ...
IMNSHO a bad attitude. Not sure if it was Djikstra, Hoare, Knuth who had some pithy comments on the practice of removing runtime checks - comparisons with discarding life preservers when going to sea. At any rate, the decision is up to the developer, and thus it should be possible to be very specific as to areas where the checks are removed.