This is why I love Go. Nobody was asking for this, but they took the time to do it right and continue to Push go as a memory safe, high-level systems language.
No idea why you're getting downvoted for true statement. Without a ? like in C# you're always at risk of a nil pointer being dereferenced
> like in C# you're always at risk of a nil pointer being dereferencedThat throws a NullReferenceException
Cool, very clever. But at least the compiler warns me of a potential exception, whereas in Go no such op even exists.
u8 · · focus · HN ↗
OutOfHere · · focus · HN ↗
seki285 · · focus · HN ↗
bel8 · · focus · HN ↗
That throws a NullReferenceException
seki285 · · focus · HN ↗
mitxela · · focus · HN ↗
pjmlp · · focus · HN ↗