Usage of Factory Design Pattern for creating Entities
question
Currently, there is a Factory class for creating instances of the User Entity, however there are no such classes for the other entities. For consistency, we should either create Factory classes for all of the other entities or remove the User Factory. As a criterion for the project presentation is that we use at least 2 appropriate design patterns, I believe that we should create Factory classes for all of the other entities
Currently, there is a Factory class for creating instances of the User Entity, however there are no such classes for the other entities. For consistency, we should either create Factory classes for all of the other entities or remove the User Factory. As a criterion for the project presentation is that we use at least 2 appropriate design patterns, I believe that we should create Factory classes for all of the other entities