AI Weekly Malaysia

Back to items Summaries

Writing correct software is hard and math alone won’t help us (2016)

ID
46035
Status
summarized
Published
12 Nov 2026, 6:28 PM
Fetched
13 Nov 2026, 10:08 AM
Provider
Hacker News
Category
dev-community
Original URL
https://pron.github.io/posts/correctness-and-complexity
Source URL
https://hnrss.org/best

Summary

Score
6.5
Created
13 Nov 2026, 10:09 AM
Tags
Audience
developersvibe_coderssaas_startup_founders

What happened

This 2016 essay is an extended Curry On talk arguing that writing correct software is fundamentally hard because computability and complexity theory put complete program understanding at odds with correctness. It aggregates proofs and results to push back on claims that the right tools make correctness easy, motivated by formal specification and verification work on a revamped Galaxy.

Why it matters

If you are considering formal methods, a production rewrite, or relying on tools to guarantee correctness, treat correctness as a scoped and costly property: decide which invariants are worth proving and budget verification effort instead of assuming a toolchain removes the problem. The essay is a 45-minute read, and the 357-point/168-comment HN thread suggests builders still argue over where that cost is justified.

Discussion angle

Where in your stack would you actually pay the cost of formal verification, such as payments, auth, or data migrations, and where is ordinary testing enough?

Top