On 06.03.2018 03:05, Walter Bright wrote:
On 3/5/2018 2:30 PM, John Colvin wrote:
This just feels bad. Adding extra failsafes for my debug program
shouldn't make my release program less safe.
Then use `enforce()`.
That makes no sense at all. Enforce is for conditions that are expected
to fail in exceptional circumstances. It does not document the same
intent as assert does and it cannot be ignored in release builds.
Anyway, "do not use assert" is not the solution, as I have explained
many times now.