Bartosz Adamczewski (@badamczewski01) on X
https://twitter.com/badamczewski01/status/1427248857197514754?s=21
·
After looking at several Error Handling techniques from C#, C++, GO, and Rust, I've concluded that try-catch EH should be abandoned.
- EH is expensive when you throw.
- EH is expensive even when you don't throw.
- EH is hard to get right.
- EH is hard to implement.
🧵