Hacker News
new
past
comments
ask
show
jobs
points
by
masklinn
7 hours ago
|
comments
by
sn9
1 hours ago
|
next
[-]
I think they're talking about cases when you can make the "zero" behave like an algebraic identity.
reply
by
r4victor
7 hours ago
|
prev
|
[-]
That's exactly the problem. Thanks for describing! What I find is people using linters to ensure all struct fields are initialized explicitly (e.g.
https://github.com/GaijinEntertainment/go-exhaustruct
), which is uhh...
reply