4 ms·
I agree that a nil pointer not representing a nil interface value is a problem (that I've been bitten by) but once you know what interfaces are at the language
by mariusor 3y ago
I agree that a nil pointer not representing a nil interface value is a problem (that I've been bitten by) but once you know what interfaces are at the language level, it makes sense, at least for me. So I design my APIs with this lack of ergonomics in mind.