Hacker News new | ask | show | jobs
by jmull 14 days ago
I believe this is just about the behavior of std.debug.assert.

You can pretty easily have a different kind of assert that disappears in release builds (if you want).

1 comments

It's in the article.

> you can implement your own version that internally checks a build-time flag, approximating C/C++ behavior