Re:Range-Checks and Recklessness
by Roboprog on Sunday March 23, 2014 @05:56PM
(#7455380)
For in-house code in a manufacturing company, we usually left all the debug symbol and assertions in our C code. For writing a product that shipped to others at a dev tools company, we usually turned off the debugging, turned on NDEBUG and full optimization. (although the product had checking for things built into its logic, and a lot of testing -- C being used as an assembler surrogate -- as we were writing developer tools, rather than "enterprise" whack-it-together-on-no-time-budget pile-age)
"Production build" varies by environment, TMTOWTDI.
"Production build" varies by environment, TMTOWTDI.