News for hackers. Stuff that matters.
Re:Assert in Production by dtornow on Monday November 24, 2025 @11:45AM (#46036037)
Yes, exceptions often surprise us in practice. The distinction I'm drawing is more about categorical boundaries than anticipated boundaries: exceptions are part of normal control flow, they are catchable and can be handled. Assertion violations are different: if an invariant is violated, no subsequent action should be trusted.

There are no comments on this comment yet.