2 ms·
This is basic stuff. It works fine until we realize that the app requires multiple simultaneous connections to the server. Now because you have a ConnectionMan
by blt 14y ago
This is basic stuff.
It works fine until we realize that the app requires multiple simultaneous connections to the server. Now because you have a ConnectionManager, you go ahead and introduce an array inside the class which maintains the state of all the open connections to the server.
No competent programmer would make this mistake solely because the class is called ConnectionManager.