DEV Community

Discussion on: Error handling - Returning Results

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

I strongly believe the arguments against exception handling are due largely in part to the crappy syntax we have to deal with them. It is bulky to catch errors, it is smaller to get returns.

In my language Leaf I am ensuring that catching errors is as trivial as looking at return codes (easier actually), to ensure this argument can be put to rest.

I've written several articles on the topic of error handling, here are perhaps the most prominant: