On Fri, 24 Feb 2017 09:14:24 +0200, ketmar wrote: > forget about "-release" dmd arg. forget about "-boundscheck=off". no, > really, they won't do you any good. after all, catching a bug in your > program when it doesn't run in controlled environment is even more > important than catching a bug in debugging session! don't hate your > users by giving 'em software with all safety measures removed! please.
Especially since -release disables assertions and contracts. If you really want extra validation that's too expensive in the general case, you can use `version(ExpensiveValidation)` or the like.