Error handling August 20, 2024 on Runxi Yu’s Website

I haven’t found a single language with error handling to my liking:

But at the same time sometimes I find exceptions to be very useful (e.g. say I’m handling a command in a network connection, and I want a catchall “command failed” that I could trigger by throwing an exception; I could emulate this with a goto up the stack but that also doesn’t feel right)