News for hackers. Stuff that matters.
Re:Why you should never ever ever have Managers in your clas... by joe_the_user on Sunday March 31, 2013 @08:28PM (#5470799)
The Connection Manager in QT, for example, is not a Connection Pool. It's more of an interface to get at all the classes that represent real things within a connection process (requests, responses, active connections, etc). There is no information in the Connection Manager except system/process defaults. The Connection Manager would create connection pools if that is what's needed but it isn't Connection Pool any more than it is a connection.

That said, I sympathize with the impulse that the term "manager" says there's something wrong in your OO design. It is simply that determining how to get around the problem is hard.

Re:Why you should never ever ever have Managers in your clas... by neeharc on Sunday March 31, 2013 @08:35PM (#5470820)
The point that is being made is to make sure that the name of the class makes its responsibilities clear. The problem with the term "manager" or "handler" is that it leaves things ambiguous.