Answer the question
In order to leave comments, you need to log in
Factory constructors - a term in Russian?
Hello!
I came across the term Factory constructors in the literature in the context of describing a programming language. I understand that we are talking about constructors, but how to translate factory? Not "factory / factory" right? :)
Answer the question
In order to leave comments, you need to log in
More like here and here .
A factory method is a generic design pattern that provides an interface for subclasses to create instances of a class. At creation time, descendants can determine which class to instantiate. In other words, the Factory delegates the creation of objects to the descendants of the parent class. This allows you to use not specific classes in the program code, but to manipulate abstract objects at a higher level. Also known as a virtual constructor.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question