3 ms·
I think this is also a good primer into golang inheritance and composition, which are major concepts in successful golang programming.
by yepthatsreality 7y ago
I think this is also a good primer into golang inheritance and composition, which are major concepts in successful golang programming.
- fabianlindfors 7y agoThank you :) Totally agree, I feel like embedding in Go doesn't get enough credit considering how pleasant it is to use.
- inlined 7y agogolang doesn’t believe inheritance is necessary. Be careful trying to put a square peg in a round hole.
- weberc2 7y agogolang is right :) Seriously though, Go doesn't have inheritance and I don't miss it. The only reason I need it in Java, etc is because so many libraries expect/require you to subclass.