News for hackers. Stuff that matters.
Re:A taste of Coq and correct code by construction by MaxBarraclough on Sunday September 03, 2023 @05:41PM (#37374885)
It's a standard phrase in the formal methods field, [0] emphasising that it's an alternative to the usual approach where we hope that our testing (which can never be complete) is enough to catch all the worrisome bugs.

Personally, this article didn't strike me as being very easy to follow, or as being the most compelling demonstration of the value of formal methods. At the risk of going off-topic: if you're not seeing the point, I recommend this example using SPARK, a non-functional language. [1]

[0] https://betterprogramming.pub/a-taste-of-coq-and-correct-cod...

[1] https://docs.adacore.com/spark2014-docs/html/ug/en/tutorial....

Re:A taste of Coq and correct code by construction by MaxBarraclough on Thursday September 14, 2023 @12:18PM (#37510936)
10 days too late to edit: the first link should have been https://wiki.c2.com/?CorrectByConstruction