factory method pattern

[ˈfæktəri ˈmeθəd ˈpætərn]
nounpl: factory method patterns
padrão de método factory
1. A creational design pattern that provides an interface for creating objects without specifying their exact classes, allowing subclasses to decide which class to instantiate
The factory method pattern allows developers to create objects without coupling the code to specific classes.
O padrão de método factory permite que os desenvolvedores criem objetos sem acoplar o código a classes específicas.
2. A design pattern that uses a method to create instances of objects rather than calling constructors directly
By implementing the factory method pattern, you can easily switch between different implementations.
Ao implementar o padrão de método factory, você pode alternar facilmente entre diferentes implementações.
This is a technical term from software engineering that is universally used in both Brazil and the USA without translation in many contexts. However, in Portuguese-language educational materials and documentation, it is commonly translated as 'padrão de método factory' or sometimes 'padrão de fábrica'. It is part of the Gang of Four design patterns and is fundamental to object-oriented programming education worldwide.
Synonyms / Sinônimos
virtual constructorpolymorphic factoryfactory pattern

Regional Variations

General Brazilian
padrão de método factory
Standard technical term used in software development documentation and courses
Portugal
padrão de método factory
Same translation used in Portuguese technical documentation
USA/International
factory method pattern
Original English term widely used in international software development communities

Related Words

abstract factory patterncreational patterndesign patternobject instantiationpolymorphism

Related Idioms & Phrases

encapsulation of object creation
deferred instantiation
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →