HN Hall of Fame Weekly email

Counterexamples in Type Systems: programs that crash, segfault or explode (2021)

counterexamples.org Books & learning Books & long-form works Software engineering Candidate
Screenshot of counterexamples.org captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 2 calendar years, with breakout response in 2 of them.

submissions
4
submitters
4
observed span
2021–2023
peak thread · 95 comments
234 pts
latest 20+ return · 2023-06-06
234 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

Fun fact: even theorem provers have counterexamples - Breaking Badfny: https://www.reddit.com/r/Coq/comments/x4d31y/breaking_badfny... - Falso (Coq): https://github.com/clarus/falso - Coq critical bugs (some of these mention potential ways to prove false): https://github.com/coq/coq/blob/master/dev/doc/critical-bugs (You can also get the theorem prover itself to hang or crash; if you work with theorem provers often, you'll even do this unintentionally, many times!)

I study type systems and programming language theory at university, and I encourage friends studying CS to at least have some understanding of type theory, such as well-known type systems (simply-typed, System F) and properties like soundness or uniqueness of typing. Why? Because as programmers we argue to death comparing the expressiveness and properties of type systems of our favorite programming languages, or we're picking up a language with features like traits or type inference. Type theory really lets you…

siraben·172-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
411

reference only — not used in Hall rules or ranking

Total comments
157

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2021-05-14Counterexamples in Type Systemsmatt_d40
2021-05-18Counterexamples in Type Systemsjlward4th10
2021-05-23Counterexamples in Type SystemsFirst breakouttempodox17262
2023-06-06Counterexamples in Type Systems: programs that crash, segfault or explode (2021)Best thread · Latest 20+ point returnnequo23495