generics
- 1Plural of generic.
Insurance plans often encourage patients to choose generics over brand-name drugs.
The supermarket's generics cost a fraction of the national brands.
Note
A plural that serves several unrelated nouns, and the setting tells you which one is meant. In a pharmacy or supermarket, generics are products sold without a brand name. To a wine seller they are blends of several wines or grape varieties. To a linguist they are terms that mark neither male nor female. To a geographer they are the parts of place names that say what kind of feature it is.
- 2The use of templates and similar tools to create generic source code that works across many different situations.
Like a blank form that works no matter what name or number you write into it.
The team adopted generics to avoid duplicating logic for each data type.
Generics in this language let a single container hold any type the caller chooses.
Similartemplates
Note
A programmer's way of writing code once and supplying the types later. An algorithm or container is defined in terms of a type parameter, so the same code serves many data types and still keeps type safety. Templates are one route to it, though not the only one. The spelling matches the ordinary plural of generic, but here the word names a technique, not a set of things.
generics is a form of generic
generic, noun: A product marketed under its common name rather than under a brand name. Full entry
- Forms
- genericgenerics plural
- Spelling
- generic → generics: add -s
- Sound
- The ending sounds like /s/.
Use it in a sentence
Write your own sentence with generics, and AI will tell you whether it fits and which meaning you used.