logoalt Hacker News

bel8 • today at 3:14 PM • 1 reply • view on HN

> like in C# you're always at risk of a nil pointer being dereferenced

That throws a NullReferenceException


Replies

seki285 • today at 3:30 PM

Cool, very clever. But at least the compiler warns me of a potential exception, whereas in Go no such op even exists.

➕ show 2 replies