Comment on Why composition is often better than inheritanceparentComments−shanemhansen12yGo chose to have composition as a first class citizen rather than OO. It's called struct embedding. Embedding requires minimal boilerplate.
Comments
Go chose to have composition as a first class citizen rather than OO. It's called struct embedding. Embedding requires minimal boilerplate.