News for hackers. Stuff that matters.
Re:Clojure 1.9 is now available by int_19h on Friday December 08, 2017 @09:49PM (#15883980)
I'm not familiar with Spec, but what you're describing sounds like enforcing preconditions but not postconditions by default, which is what most DbC frameworks (or languages with intrinsic support) normally do. The idea being that most of the time, you're running library code, and you want to validate what you're passing in, but you trust it to do the right thing for any input that is valid.
Re:Clojure 1.9 is now available by coinme on Saturday December 09, 2017 @02:43AM (#15884756)
That’s fine, and makes sense, but without hacks, it is not possible to turn on ret checking in your tests that are not generative tests - so no post condition checks in the rest of your test suite.

I believe this is a missed opportunity to find bugs.