A third alternative (to OOP and FP) is ECS (Entity Component System), which turns composition into a 1st class citizen, and organizes behavior around the attributes of an object, rather than what an object "is".
A third alternative (to OOP and FP) is ECS (Entity Component System), which turns composition into a 1st class citizen, and organizes behavior around the attributes of an object, rather than what an object "is".