News for hackers. Stuff that matters.
Re:The perils of Lisp in production by Kototama on Wednesday April 04, 2012 @09:25AM (#3797421)
Pre/post conditions at compile-time in Clojure? Nope. How could you know the value returned by a function at compile time? Or the value of the inputs?

You could only know the types of the input if the compiler was smart enough and define constraints on the types but as far as I know it's not possible in Clojure.

Re:The perils of Lisp in production by lucian1900 on Wednesday April 04, 2012 @11:13AM (#3797936)
You're right, Clojure doesn't support compile-time conditions. Must've been confused.
Re:The perils of Lisp in production by jshen on Wednesday April 04, 2012 @12:28PM (#3798301)
true, but there are a lot of things you can catch with pre/post conditions in clojure that you wouldn't catch with a compiler in something like java.