Re:Advent of Code 2018, in Coq
by bunderbunder on Monday February 18, 2019 @08:32PM
(#19196024)
A fairer comparison would be Haskell code plus a complete suite of tests.
[ Parent
| on HN ]
No suite of tests is complete enough to replace a proof. Unless the domain is finite and the tests exhaust all values in it.
Out of curiosity, are there any studies that compare error rates among languages? How much is gained by going from say, Java to Haskell, or from Haskell to Coq?
Re:Advent of Code 2018, in Coq
by fiddlerwoaroof on Monday February 18, 2019 @09:56PM
(#19196279)
There's this, according to which Clojure does nearly as well as Haskell or Scala: https://jaxenter.com/programming-languages-defect-prone-repo...