3 ms·
"Objects respond to messages from "god" at arbitrary times in an untestable way." "way to solve this problem with delegation or data-binding" But this is even
by raverbashing 13y ago
"Objects respond to messages from "god" at arbitrary times in an untestable way."
"way to solve this problem with delegation or data-binding"
But this is even less testable. Inheritance makes unit testing a total hell. Because you don't care only for your object, but everything that came before it.
And this usually requires heavy mocking and/or some other tricks.
Delegation makes it easier, sure, I'm not so sure about data-binding