Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
styluss
· 1y ago · 0 comments
In Go, if one would ignore the error, it could result in a panic or the program would continue with some unexpected state. Go projects work on an honour system and either return Nils with errors or empty structs.
Comments
[–]
dontlaugh
1y ago
The same case in Go would’ve probably been a nil panic.