2 ms·
> Coupling behaviors to types is not a problem. Class inheritance and multi-inheritance with their weird taxonomical trees are the problem. I didn’t mention co
by ninetyninenine 2y ago
> Coupling behaviors to types is not a problem. Class inheritance and multi-inheritance with their weird taxonomical trees are the problem.
I didn’t mention coupling behaviors to types. I said coupling behaviors to state is the problem. When I couple method a to state it’s a big problem. I want method banana but method banana lives in the jungle and has all the other methods related to jungle.
So all I wanted was a banana now I have a jungle. Why not think of the banana as modular from the jungle? Why even use oop?
I agree with you on the inheritance thing. Thats a different issue.