|
You are here |
eli.thegreenplace.net | ||
| | | | |
knight.sc
|
|
| | | | | 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
|
|
| | | | | Go does not support inheritance. However it does support composition. Composition is achieved by embedding one struct type into another. | |
| | | | |
rakyll.org
|
|
| | | | | [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
|
|
| | | An overview of so-called "object safety" in Rust, and why it is necessary for trait objects. | ||