I have several classes where some of the methods depends upon a property of a certain object. Right now the object is brought in by a global variable because I use it in so many places. Otherwise I would have put it in the method signature.
Question 1) Is there a better way to design this ?
Question 2) Where can I go to see similar questions asked or discussed besides reading design patterns concepts ?
Aucun commentaire:
Enregistrer un commentaire