zlacker

[parent] [thread] 3 comments
1. aspace+(OP)[view] [source] 2022-10-02 16:25:56
Ease the snark space ranger.

> dynamic errors fail smaller granularity tasks and handlers deal with tasks failing due to safety checks going bad.

Yes and that's why Rust is bad here (but it doesn't have to be). Rust _forces_ you to stop the whole world when an error occurs. You cannot fail at a smaller granularity. You have to panic. Period. This is why it is being criticized here. It doesn't allow you any other granularity. The top comment has some alternatives that still work in Rust.

replies(2): >>titzer+D >>__jem+mP2
2. titzer+D[view] [source] 2022-10-02 16:29:07
>>aspace+(OP)
> You cannot fail at a smaller granularity.

Rust needs to fix that then. So we agree on that.

replies(1): >>Jweb_G+MQ
◧◩
3. Jweb_G+MQ[view] [source] [discussion] 2022-10-02 21:52:39
>>titzer+D
What was said is not actually true of Rust.
4. __jem+mP2[view] [source] 2022-10-03 14:49:25
>>aspace+(OP)
> Rust _forces_ you to stop the whole world when an error occurs.

But... this isn't true??

[go to top]