News for hackers. Stuff that matters.
Re:Conc: Better Structured Concurrency for Go by Smurfix on Thursday January 12, 2023 @07:58AM (#34352814)
How the heck should a library author know whether an error is recoverable or not? In many situations that depends entirely on the caller.

Not-so-contrived example: a config options contains a value that leads to a division by zero in some library I'm using. I don't want that to crash my whole program, I want to tell the user "hey this part didn't work" but be able to continue with the other parts.

Without writing a ton of boilerplate code.

There are no comments on this comment yet.