4 ms·
Pointers are conflated with Option-types in go. Understandably, because go wants to be as simple as possible, has those nasty zero-values as "solution", had no
by the_gipsy 4y ago
Pointers are conflated with Option-types in go. Understandably, because go wants to be as simple as possible, has those nasty zero-values as "solution", had no generics for a long time, and will probably never have sum-types.
So, guess if it's a pointer or an Option, and hope that your peers guess the same.