Content deleted Content added
Orandlogic (talk | contribs) No edit summary |
Adding local short description: "Assignment of an initial value for variable", overriding Wikidata description "assignment of an initial value for a data object or variable" |
||
Line 1:
{{Short description|Assignment of an initial value for variable}}
In [[computer programming]], '''initialization''' (or initialisation) is the [[Assignment (computer science)|assignment]] of an initial value for a [[data object]] or variable. The manner in which initialization is performed depends on the [[programming language]], as well as the type, storage class, etc., of an object to be initialized. Programming constructs which perform initialization are typically called '''initializers''' and '''initializer lists'''. Initialization is distinct from (and preceded by) [[declaration (computer programming)|declaration]], although the two can sometimes be conflated in practice. The complement of initialization is [[finalization]], which is primarily used for objects, but not variables.
|