Live briefing
Everything about Factory (object-oriented programming)
Object that creates other objects
In object-oriented programming, a factory is an object for creating other objects; formally, it is a function or method that returns objects of a varying prototype or class from some method call, which is assumed to be new. More broadly, a subroutine that returns a new object may be referred to as a factory, as in factory method or factory function. The factory pattern is the basis for a number of related software design patterns. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: Factory (object-oriented programming)A 5-minute orientation
- Skim a recent paper: Analysis of the learning object-oriented programming factorsInfluential work since 2022
- Pick up a classic book: American FilmThe most-reprinted book on the subject
- Read the landmark paper: VirtualWorks: Building a Virtual Factory with 3-D Modelling and Object Oriented Programming TechniquesCited 3 times
- Go sideways: Factory method patternA closely related topic
- Go sideways: Virtual functionA closely related topic
📖 Definitions
No dictionary entry for this exact phrase.
🏆 Landmark papers (most cited)
VirtualWorks: Building a Virtual Factory with 3-D Modelling and Object Oriented Programming Techniques
VirtualWorks: Building a virtual factory with 3-D modelling and object oriented programming techniques
🆕 Influential since 2022
📚 Books worth reading
American FilmAmerican Film Institute · 1975
Learning PythonMark Lutz, David Ascher · 1999
Objects first with JavaDavid J. Barnes, Michael Kolling · 2002
Design PatternsErich Gamma, John Vlissides · 1995
The Conspirators HierarchyJohn Coleman · 1992
Treaty Occupationay ToxicologySuelen Queiroz · 2010
Understanding object-oriented programming with JavaTimothy Budd · 1998
Digital planetGeorge Beekman, Ben Beekman · 2011
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Factory method pattern In object-oriented programming, the factory method pattern is a design pattern that uses factory methods to deal with the problem of creating objects without…
- Virtual function In object-oriented programming such as is often used in C++ and Object Pascal, a virtual function or virtual method is an inheritable and overridable function…
- Class (programming) In programming, a class is a syntactic entity structure used to create objects. The capabilities of a class differ between programming languages, but generally…
- Prototype pattern The prototype pattern is a creational design pattern in software development. It is used when the types of objects to create is determined by a prototypical…
- Creational pattern A creational pattern is a software design pattern for creating objects in a manner suitable to a particular situation. As object creation that is otherwise…
- Constructor (object-oriented programming) In class-based, object-oriented programming, a constructor (abbreviation: ctor) is a special type of function called to create an object. It prepares the…
- Reflective programming In computer science, reflective programming or reflection is the ability of a process to examine, introspect, and modify its own structure and behavior…
- Method (computer programming) A method in object-oriented programming (OOP) is a procedure associated with an object, and generally also a message. An object consists of state data…