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
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....