On 20 March 2013 08:36, Marko Topolnik <marko.topol...@gmail.com> wrote:

> If you responsibly keep to the "good parts", exceptions could be the way
> to go. Validation is one example where I love them because it happens all
> around, but validation failures are all handled uniformly.
>

If validation happens "all around", that implies there is no one function
that can test whether a value of data is valid for a given data store. This
strikes me as a somewhat shaky foundation for a system.

There may be instances where it makes sense to use exceptions as a control
flow mechanism, but I wonder whether it wouldn't be better to use something
like CPS in those instances.

- James

-- 
-- 
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