Explore >> Select a destination


You are here

aneesh.mataroa.blog
| | golangbot.com
2.1 parsecs away

Travel
| | Go does not support inheritance. However it does support composition. Composition is achieved by embedding one struct type into another.
| | www.ardanlabs.com
2.0 parsecs away

Travel
| | Introduction I see a lot of developers coming to Go from object oriented programing languages such as C# and Java. Because these developers have been trained to use type hierarchies, it makes sense for them to use this same pattern in Go. However, there are aspects of Go that don't allow type hierarchies to provide the same level of functionality they do in other object oriented programming languages. Specifically, the concepts of base types and subtyping don't exist in Go so type reuse requires a differ...
| | golangtutorials.blogspot.com
1.2 parsecs away

Travel
| | Other topics in this series - Table of Contents Those of you used to other object oriented languages probably already know what inheritance...
| | leejo.github.io
27.9 parsecs away

Travel
|