The more I use sum types for error handling the more convinced I am that exceptions are very good, actually.
-
Show this thread
-
Replying to @DRMacIver
Honestly, this exact thought has been on my mind since my recent experiment learning Rust. Exceptions aren't perfect, but they're also pretty good for many things.
1 reply 0 retweets 7 likes -
Replying to @DRMacIver
I find all that wrapping/unwrapping/boxing/unboxing or whatever you want to call it to be pretty annoying. Throw an exception already. I'll handle the error where it actually makes sense to handle it.
0 replies
1 retweet
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.