What is your preferred design patterns: factory, singleton, prototype
Utilisateur anonyme
Prototype. The reason I choose this answer is because: - It eliminates the (potentially expensive) overhead of initializing an object - It simplifies and can optimize the use case where multiple objects of the same type will have mostly the same data