I have written what I think is a fairly reasonable program in Go.

It is 31% "if err != nil" by volume.

Follow

@sunconscious Go fans are wild for the shit, but I honestly don't get it.

In practice, you're unwinding the stack until you can handle the error, same as with exception-based languages -- except you have to do everything by hand and if you forget, your program continues running in an undefined and/or invalid state instead of crashing by default.

It's baffling to me that anyone would want that.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!