top | item 46031258

(no title)

styluss | 3 months 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.

discuss

order

dontlaugh|3 months ago

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