Does the Factory Method only follow the Dependency inversion principle and interface segregation principle in the SOLID? I found that on another website but couldn't really find any arguments why it implement the interface segregation principle. It follow DIP because it depend on an interface(abstraction) and not concrete classes.
Aucun commentaire:
Enregistrer un commentaire