On Sat, Jun 16, 2012 at 10:58 AM, Kurt Harriger <kurtharri...@gmail.com> wrote:
> How does one turn off pre/post conditions in production?

(binding [*assert* false] (call-my-code))

> I agree with Sean
> however and generally think that assertions in production a bad thing.

I didn't say that. I said the question was a philosophical one.

I actually think assertions should stay _on_ in production (so I would
care about computationally intensive assertions - and I would prefer
those to be in a test suite).

(and I don't agree with you on using accessor functions vs data-as-API either)
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to