News for hackers. Stuff that matters.
Re:Why Clojure? by purple_ducks on Saturday August 24, 2019 @02:48PM (#20788952)
> How do you manage errors?

It becomes unwieldy like every other language.

> What happens if Questionnaire.xlsx or Sheet1 doesn't exist ?

Runtime exception.

I've seen too much Clojure code (and this goes for every language where error handling is optional - Hi Javascript!) just skip error handling and focus on "happy path".

And as demonised as Java's checked exceptions are, they at least forced error handling to be thought of.

Re:Why Clojure? by beders on Saturday August 24, 2019 @03:40PM (#20789256)
Or you could use: https://github.com/adambard/failjure

Ya'll underestimate the power of a programming language to create a programming language. Just replace the arrow with `ok->>`