2 ms·
Alternatively look at https://dlang.org/articles/exception-safe.html https://dlang.org/articles/exception-safe.html. The problem of mixing paradigms is that ge
by mamcx 9mo ago
Alternatively look at https://dlang.org/articles/exception-safe.html https://dlang.org/articles/exception-safe.html.
The problem of mixing paradigms is that get confusing. Ideally all is represented equally (ie: All errors are `Result`) but is the handling that get confusing. Each option is a totally different control flow.
And it not compose (even if you use effects ) (and I mean ergonomically*) so you need to pick wich one to make first class
P.D: I'm pretty certain about the "not compose, in practice", I have seen lots of options and none looks nice, but open to corrections!
P.D.2: It should also consider the things on the dlang handling, and the midori article...