I am studying about the Factory Design Pattern in Scala.One of the benefits of this method is Loose Coupling between Object Creation logic and Client (from http://ift.tt/2lKNTub). How can we achieve this and why we need loose coupling at all? Can someone give some examples and explain this?
Aucun commentaire:
Enregistrer un commentaire