News for hackers. Stuff that matters.
Re:Why Go Can't Try by advisedwang on Monday March 02, 2026 @12:02PM (#47220684)
The Go team has discussed syntactic sugar for error handling many times. They're not against it, they're just holding out for a proposal that checks a lot of boxes and makes everyone happy, which hasn't happened yet.
Re:Why Go Can't Try by verdverm on Monday March 02, 2026 @01:12PM (#47221743)
It's a settled matter at this point for the foreseeable future

https://go.dev/blog/error-syntax

tl;dr - proposals are no longer being considered

Re:Why Go Can't Try by release-object on Monday March 02, 2026 @01:14PM (#47221762)
Re:Why Go Can't Try by f33d5173 on Monday March 02, 2026 @02:09PM (#47222566)
I they wanted error handling they would have thought for a bit then picked a good enough solution. "We only want 'X but perfect'" is the same as "we don't want X".
Re:Why Go Can't Try by thayne on Monday March 02, 2026 @03:14PM (#47223463)
> and makes everyone happy

But that's never going to happen because there is a very vocal subpopulation (I think it is a minority, but don't know for sure, and it is hard to measure that kind of thing) that is opposed to any "syntactic sugar" and wants it to stay the way it is.