Hi Folks

I've been looking at the red-tape form validation library and really like 
it (especially coming from a Django background). The one thing that makes 
me nervous is that the when validating data it uses exceptions if the data 
is invalid. 
I'd read somewhere that you should only use exceptions for error conditions 
you can't predict - I'd have thought that form validation was an example of 
where you'd expect there to be errors and hence handle them.

My question is: Do people think that the use of exceptions in this way is a 
reasonable approach?

BTW I think the library is great and the documentation first class so I'm 
in no way criticizing the author.

Cheers

Dave 

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to