/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

eli.thegreenplace.net
| | knight.sc
2.9 parsecs away

Travel
| | The Go programming language does not support the concept of inheritance in the traditional object oriented sense. It does allow for type embedding which provides a powerful method for composition. When getting started with Go these patterns are not always obvious. This post provides a short example of how type embedding is used in one of the Go standard library structs.
| | golangbot.com
3.8 parsecs away

Travel
| | Go does not support inheritance. However it does support composition. Composition is achieved by embedding one struct type into another.
| | rakyll.org
2.3 parsecs away

Travel
| | [AI summary] This article explains the unique aspects of the Go programming language's type system, emphasizing data-model separation, composition over inheritance, and interface usage.
| | huonw.github.io
22.4 parsecs away

Travel
| An overview of so-called "object safety" in Rust, and why it is necessary for trait objects.