3 ms·
I think the move to FP cements my view that exception handling is more trouble than its worth. Golang is good too that it doesn't use exceptions except in the e
by rr808 4y ago
I think the move to FP cements my view that exception handling is more trouble than its worth. Golang is good too that it doesn't use exceptions except in the extreme. Java with checked exceptions was kinda fashionable for a while but is now unloved. Down with exceptions!
- pencilguin 4y agoConfirmation bias is always common, but not a thing to boast of.
- sanxiyn 4y agoI am not sure what FP you are talking about. Exception is core feature of ML and pervasive in OCaml standard library, for example.
- hinkley 4y agoI haven’t been watching the benchmarks lately but for quite some time OCaml was notable for being nearly as fast as C. No other function friendly language was even close.
- yCombLinks 4y agoI don't see how wrapping everything in Try is significantly different than wrapping things in catch blocks at the end of the day. I see more people complaining about checked exceptions than I actually see them being used anyways.
- gpderetta 4y agoAt the end of the day it always boils down to continuations.