factory pattern
[/ˈfæktəri ˈpætərn/]
nounpl: factory patterns
padrão de fábrica
1. A creational design pattern that provides an interface for creating objects without specifying their exact classes
The factory pattern allows you to create different types of database connections using a single factory method.
O padrão de fábrica permite que você crie diferentes tipos de conexões de banco de dados usando um único método de fábrica.
2. A design pattern that uses factory methods to instantiate objects instead of using direct constructors
Implementing the factory pattern reduces coupling between classes and improves code maintainability.
Implementar o padrão de fábrica reduz o acoplamento entre classes e melhora a manutenibilidade do código.
The factory pattern is a foundational concept in software engineering, particularly in object-oriented programming. It is extensively used in both American and Brazilian software development communities and is taught as a standard design pattern in computer science courses. The term is used identically in both English-speaking and Portuguese-speaking programming contexts, reflecting the international nature of software development terminology.
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →