News for hackers. Stuff that matters.
Re:Fourteen Years of Go by zozbot234 on Saturday November 11, 2023 @08:20AM (#38230071)
> I just want you to either do what I asked you to do or fail gracefully, and then I can decide whether we crash or not.

Then you're looking for resumable conditions, which just so happen to be effectively isomorphic to async-await. (The called function is effectively a piece of async code which 'awaits' upon a failure condition, after which it can either be resumed or canceled as with an ordinary panic.)

There are no comments on this comment yet.