● Chapter 16 — 16-boundaries is built and CI-green (84 exercises). This is the final chapter of the #17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chapter16"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
curriculum-expansion plan.
The chapter's subject is failure, so every behavior was probed against real plgc first and the exact transcript
quoted in the prose. The arc — catchable error → uncatchable error → structural exclusions → synthesis:
C's silent wraparound, not bignum. Factorial story: 20! fits, 21! overflows; the student catches it.
stop — wrap a runaway in catch and it still dies at exit 3. Lesson: termination is a correctness obligation; the
student supplies the base case that is that safety.
arguments (accumulator), not a mutable database.
operators are just sugar for compounds, so =.. builds any expression — the fixed table costs no expressiveness.
int_overflow, type_error(evaluable,_)) and naming each, closing the whole exceptions+boundaries arc on the
asymmetry: you recover from a bad computation, never from one that won't stop.
All catchers match on the Formal's shape with _ in the culprit slot, so issue #36 (the bare-atom evaluable
culprit) can't affect them. Registry, ROADMAP (84), and README updated; a memory saved on the
constructive-teaching constraint that shaped the design.