Original Post
Without doubt, you've all been there. You got your nice heap of classes, and now you encounter the "problem" where some classes need to talk to some classes you initially didnt think needed to communicate. Which solution do you use, and why? I am often in argument with myself in choosing the solutions here. There are pros and cons with both using Call-back (sending objects that communicate through for instance constructors), using static methods, and using singleton classes. Thoughts? Static methods pose a slight delay, so does argument passing with objects, and singleton classes naturally restrict themselves to one instance of the class.