3 ms·
> How do you manage errors? It becomes unwieldy like every other language. > What happens if Questionnaire.xlsx or Sheet1 doesn't exist ? Runtime exception.
by purple_ducks 7y ago
> 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.
- beders 7y agoOr you could use: https://github.com/adambard/failjure 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->>`