logoalt Hacker News

kiitoslast Wednesday at 10:26 AM2 repliesview on HN

I know..! Ignoring an error at a call site is a bug by the caller, that Go requires teams to de-risk via code review, rather than via the compiler. This is well understood and nobody disputes it. And yet all available evidence indicates it's just not that big of a deal and nowhere near the sort of design catastrophe that critics believe it to be. If you don't care or don't believe the data that's fine, everyone knows your position and knows how dumb you think the language is.


Replies

Yoriclast Wednesday at 11:25 AM

(not the GP)

Indeed, while not being a fan of how this aspect of Go, I have to admit that it seldom causes issues.

It is, however, part of the reasons for which you cannot attach invariants to types in Go, which is how my brain works, and probably the main reasons for which I do not enjoy working with Go.

show 1 reply
stousetlast Wednesday at 5:24 PM

> all available evidence

Where is this evidence? Where is the data that I am supposed to believe?