3 ms·
> If you don't know what can go wrong, use exceptions Disagree. Exceptions are broken in Scala. I think it's better to do what was suggested in an earlier poin
by domlebo70 11y ago
> If you don't know what can go wrong, use exceptions
Disagree. Exceptions are broken in Scala. I think it's better to do what was suggested in an earlier point, and return an ADT. You should wrap them and return an ADT constructor taking in the exception.