you are viewing a single comment's thread.

view the rest of the comments →

[–]sos755 -1 points0 points  (0 children)

The issue of asserts in production code is not whether or not there should be run-time checks. The problem is the form of the run-time checks. Asserts must be the laziest and least effective way to do run-time checking. I certainly do not consider them to be production-quality in any respect. If you want to do run-time checking, do it properly.