Skip navigation.

Uncontrolled coupling - Singletons, just say NO!

Uncontrolled coupling - Singletons, just say NO!

We're developing some code for a client. There's a standalone server, which we've completed, and a small stub of code that allows the client's existing system to talk to our new server in place of the old thing they used to talk to...This morning I stubbed out the new stub and put together a test harness project. Unfortunately, due to the way the client's code is coupled it could prove difficult to test the new stub...