Mastering Go's Type System: Interfaces, Embedding, and Composition
·2121 words·10 mins
Mastering Go’s Type System: Interfaces, Embedding, and Composition # If you are coming from an Object-Oriented Programming (OOP) background like Java, C#, or C++, your first few weeks with Go were probably confusing. You looked for extends. You looked for abstract base classes. You looked for the familiar hierarchy of inheritance that defined your previous architectural decisions.