Instantiating
From APIDesign
(Difference between revisions)
JaroslavTulach (Talk | contribs)
(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...)
Next diff →
Revision as of 15:06, 8 July 2013
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 [[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.