3 ms·
> Inheritance with embedding is a false friend in Go. Stick to composition. Note that this applies to every language with inheritance. Composition is _always_
by weberc2 7y ago
> Inheritance with embedding is a false friend in Go. Stick to composition.
Note that this applies to every language with inheritance. Composition is _always_ better.