Next, you should take the fat constructor as a signal, an indicator telling you that your class is trying to do too much on its own, and decompose it, so that it delegates the details of various tasks to a couple of smaller classes with a more narrowly defined job; with these few classes replacing your old dependencies. Then go down one level and repeat if needed.
↧