News for hackers. Stuff that matters.
Re:Contracts for C++ (DbC) [pdf] by mempko on Monday November 18, 2024 @03:58PM (#42176949)
Exactly. What I do is litter my code with contracts. I then profile to find the hot loop and minimize (not turn them off) there. For the 99% of the other code, the user won't notice any slowdown.

The value is just too high to turn them off in production. Do you want bug free code? This is the only way I know how to do it.

There are no comments on this comment yet.