Re:Why isn't Godot an ECS-based game engine?
by dexwiz on Saturday February 27, 2021 @12:54PM
(#26286630)
Composition does not strictly imply inheritance. A DOM tree is a perfect example of composing nodes without inheritance.
[ Parent
| on HN ]
Re:Why isn't Godot an ECS-based game engine?
by IggleSniggle on Saturday February 27, 2021 @08:21PM
(#26289807)
Strange to see this worded this way because I often think of composition as the opposite of inheritance.
Instead of “this thing uses this subset of parts from its parent” it is “this thing is composed of this collection of parts.”