What’s the best argument to made made in favor of ... untyped errors in strongly typed languages?
-
-
I think the biggest thing that Rust folks have zeroed in and agreed on is that typing is more important for libraries than applications. Libraries should return enums of their errors and give applications a chance to recover, apps usually just need a `Box<dyn Error>`
-
Interesting, I would've expected the opposite. Libraries returning enums of their errors means they can never grow new errors without breaking clients
- 8 more replies
New conversation -
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.