4 ms·
Frankly the only error handling that I haven’t actively disliked is in ML-derived languages with Either<L, R>, or Nim’s (and the latter really isn’t that far of
by girvo 6y ago
Frankly the only error handling that I haven’t actively disliked is in ML-derived languages with Either<L, R>, or Nim’s (and the latter really isn’t that far off from what we’re complaining about, but the community seems better at using it without the nested exception hell that Java and in my experience PHP can end up in)
- the_af 6y agoOh, I also like Either from Haskell. But it can get out of hand if misused by devs. Note I say "misused" -- but it happens. After all, if Java exceptions weren't misused, there wouldn't be any problem either.