3 ms·
You're incorrect about Go. It's in the spec that derefing a nil pointer will cause a runtime panic (~ an exception). http://golang.org/ref/spec#Address_operato
by frou_dh 13y ago
You're incorrect about Go. It's in the spec that derefing a nil pointer will cause a runtime panic (~ an exception).
http://golang.org/ref/spec#Address_operators http://golang.org/ref/spec#Address_operators
- drewcrawford 13y agoI stand corrected.