Re:Why you should never ever ever have Managers in your clas...
by sha90 on Sunday March 31, 2013 @11:10PM
(#5471230)
It's not that it "doesn't belong in Thing", but rather, it can be performed by another entity. These are the same fundamental "responsibility" questions we struggle with in designing OO systems every day. When you have two or more entities collaborating on a responsibility, which one of them get the actual method? Incidentally, this is kind of what real life managers are for too, as much as we like to dislike them.
[ Parent
| on HN ]
There are no comments on this comment yet.