| ▲ | jay_kyburz 5 hours ago | |||||||
Even in video games, I avoid inheritance, I always much prefer composition. Build a complex object from many small objects, then vary behavior with parameters rather than deriving a child class and overriding methods. | ||||||||
| ▲ | TZubiri 4 hours ago | parent [-] | |||||||
Right that's still OOP. | ||||||||
| ||||||||