type-parameterized programming

noun
UK /taɪp pəˈræmɪtəraɪzd ˈprəʊɡræmɪŋ/
US /taɪp pəˈræmɪtəraɪzd ˈproʊɡræmɪŋ/

A way of writing computer code where you can use the same recipe for many different kinds of things.

With type-parameterized programming, a single list function can hold numbers, words, or even pictures.


OTHER MEANINGS

2. A style of coding where types are passed in like ingredients so one piece of code works for many data types.

The library uses type-parameterized programming so its sorting tool works on both names and scores.

3. A technique in languages like Java and C# where angle brackets let you fill in a type later.

She learned type-parameterized programming to write a Box class that could hold any item.

4. Writing reusable code by leaving the exact data type as a blank to be filled in when used.

Type-parameterized programming saved the team from writing ten nearly identical functions.