template programming

noun
UK /ˈtɛmpleɪt ˈprəʊɡræmɪŋ/
US /ˈtɛmpleɪt ˈproʊɡræmɪŋ/

A way of writing computer code where you make a pattern that can be used with many different kinds of things.

Template programming lets a programmer write one function that works with numbers, words, or any other type.


OTHER MEANINGS

2. A style of coding where a reusable outline is filled in with specific details later.

The team used template programming to build forms that share the same layout.

3. Writing code that generates or expands other code before it runs.

Template programming in C++ can create specialized versions of a function at compile time.

4. Using a general model or pattern as the basis for many similar programs.

Their template programming approach saved time because every new app started from the same skeleton.