[TUHS] To NDEBUG or not to NDEBUG, that is the question

Ori Bernstein via TUHS tuhs at tuhs.org
Sat Nov 8 04:54:31 AEST 2025


On Fri, 17 Oct 2025 08:22:23 -0400, Dan Cross via TUHS <tuhs at tuhs.org> wrote:

> One must question whether `assert` is the right thing or not, though;
> as an interface, it's pretty limited: a thing can either be true or
> not, but any surrounding information is not preserved;

This is untrue -- with core dumps enabled, surrounding information is
preserved better than most other options.

-- 
    Ori Bernstein


More information about the TUHS mailing list