News for hackers. Stuff that matters.
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.
Re:Advent of Code 2018, in Coq by hiker on Monday February 18, 2019 @09:25PM (#19196194)
No suite of tests is complete enough to replace a proof. Unless the domain is finite and the tests exhaust all values in it.
Re:Advent of Code 2018, in Coq by melling on Monday February 18, 2019 @09:40PM (#19196238)
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...