3 ms·
> The interface implementation as subtype could be replaced with explicit instantiation using an “extends” keyword, plus sum types, and it would have been a sim
by cowl 3y ago
> The interface implementation as subtype could be replaced with explicit instantiation using an “extends” keyword, plus sum types, and it would have been a simpler approach.
Sure if you want to remove one of the better features of Go, Implicit interface implementation.