News for hackers. Stuff that matters.
Re:Rust from 0 to 80% for JavaScript Developers by kaba0 on Sunday May 01, 2022 @09:30AM (#31224873)
I really don’t think it is that much of a problem. You almost always want a high-level error handling logic, and not all errors can or should be handled at callsite. Rust’s ? macro is a good tradeoff, but I really do think that exceptions are the best way of error handling — optionally marking a given exception type as “should be handled” aka checked exceptions. Though existing implementations are not without errors.

There are no comments on this comment yet.