by slekker · 1y ago · 0 comments
Surely you recognize the benefit in that sort of thing being pushed to a compiler error?
Instead the null propagates somewhere else where you assume non-null, and you get the panic there.
That's bad error reporting, and it only happens because Go lacks a proper nullable/option type.