Hacker News new | ask | show | jobs
by styluss 200 days ago
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.
1 comments

The same case in Go would’ve probably been a nil panic.