Aran Wilkinson
/about
/posts
/now
/resume
Entries tagged :: composition
2024-06-24
Why Go uses composition over inheritance
Go doesn't have class inheritance, and that's by design. Learn how Go's structs, embedding, and implicit interfaces give you the flexibility of inheritance without the fragile base class problems.
Read more ⟶