News for hackers. Stuff that matters.
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.
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.”

Re:Why isn't Godot an ECS-based game engine? by rudedogg on Saturday February 27, 2021 @11:07PM (#26290587)
Can you give an example of how the composition works, or where it is used?

With everything inheriting from the Node class, I've only seen it as being an OOP/inheritance system.