Instantiating

From APIDesign

(Difference between revisions)
Jump to: navigation, search
(New page: What a real world definition of instantiating could be? Imagine you have a template and from it you can create (usually more than one) instance. Like if you have a [[wikipedia:DNA|DN...)
Current revision (15:06, 8 July 2013) (edit) (undo)
 
Line 6: Line 6:
their own lives. Creating the being would be [[instantiating]].
their own lives. Creating the being would be [[instantiating]].
-
In [[OOP|object oriented]] class based languages (see [[wikipedia:List_of_programming_languages_by_type#Object-
+
In [[OOP|object oriented]] class based languages (see [[wikipedia:List_of_programming_languages_by_type#Object-oriented_class-based_languages|list on wikipedia]]) the "class" plays the role of a template from which one can create (e.g. instantiate) many objects - initially same, but since then living on their own.
-
oriented_class-based_languages|list on wikipedia]]) the "class" plays the role of a template from which one can create (e.g. instantiate) many objects - initially same, but since then living on their own.
+

Current revision

What a real world definition of instantiating could be?

Imagine you have a template and from it you can create (usually more than one) instance. Like if you have a DNA and based on it you can create few live beings of the same genofond. Initially same, but then living independently their own lives. Creating the being would be instantiating.

In object oriented class based languages (see list on wikipedia) the "class" plays the role of a template from which one can create (e.g. instantiate) many objects - initially same, but since then living on their own.

Personal tools
buy