There maybe sometime I need to change the interface for some new demand. Maybe I need to change the signature of the method or add some new method to the interface. This seem like broke the open-close principle but the new method is indeed should be add to the already existed interface.
Can someone give me some suggestions? Thank you.
Aucun commentaire:
Enregistrer un commentaire