S
S
scofieldsj2011-10-11 01:56:15
Machine translation from one language to another
scofieldsj, 2011-10-11 01:56:15

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

2 answer(s)
D
daleretto, 2011-10-11
@daleretto

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.

R
rasa, 2011-10-11
@rasa

Here, for example, the factory constructor

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question