The difference between Macro and Template
When used as nouns, macro means a comparatively human-friendly abbreviation of complex input to a computer program, whereas template means a physical object whose shape is used as a guide to make other objects.
Macro is also adjective with the meaning: very large in scope or scale.
Template is also verb with the meaning: to set up or mark off using a template.
check bellow for the other definitions of Macro and Template
-
Macro as an adjective:
Very large in scope or scale.
-
Macro as an adjective (cooking, colloquial):
-
Macro as a noun (colloquial, nutrition, chiefly, in plural):
-
Macro as a noun (programming):
A comparatively human-friendly abbreviation of complex input to a computer program.
Examples:
"The preprocessor expands any embedded macros into source code before it is compiled."
-
Macro as a noun (photography):
macro lens
-
Template as a noun:
A physical object whose shape is used as a guide to make other objects.
-
Template as a noun:
A generic model or pattern from which other objects are based or derived.
-
Template as a noun (molecular biology):
A macromolecule which provides a pattern for the synthesis of another molecule.
-
Template as a noun:
A partially defined class or function, that can be instantiated in a variety of ways depending on the instantiation arguments.
Examples:
"A template is a blueprint or formula for creating a generic class or a function.'' cite-web title=C++ Templates site=tutorialspoint year=2016"
-
Template as a verb:
To set up or mark off using a template.
-
Template as a verb:
To provide a template or pattern for.