proposal: errors: - #52380
Labels
error-handling
Language & library change proposals that are about error handling.
FrozenDueToAge
LanguageChange
Suggested changes to the Go language
Proposal
v2
An incompatible library change
Milestone
_
to ignore the error.-
to return error if not nil.~
to wrap da err.Error are values in Go, so don't bother using a keyword or special function for it. Also, this is backwards compatible for the boomers out there.
It's on the left hand side. Do more leetcode or something. Sure.
?
would be fine; it's not the same key as_
though.Well, do you handle and defer your other values? N- oh, yeah? You do? Go back to leetcode. Now.
Last time I checked, I didn't use keywords for integers (and other values). Leetcode for even asking that question. You peasant.
Other Proposals
The issue with the other proposals is that they don't believe in themselves enough. Too much big words. All that justification. We are GO programmers. Our personal advertisements consist of Lamborghini and McClaren... We don't search Google. Google searches us. Listen up.
I will travel across the land, searching far and wide.
To teach Go devs to understand, the power that's inside.
(Go Errors, Gotta Catch Em All) It's you and me
I know it's my destiny
(Go Errors) Oh, you're my best friend
In programs we must defend
(Go Errors, Gotta Catch Em All) If err not nil
A return will pull us through
You teach me and I'll teach you
Go Errors! (Gotta Catch 'em all) Gotta Catch 'em all (Go Errors!)
The text was updated successfully, but these errors were encountered: