A programming paradigm that allows writing code with types as parameters, enabling the same code to work with different data types while maintaining type safety.
Generic comes from Latin 'genus' meaning kind or class. The concept was formalized in the 1970s with ML's parametric polymorphism, later popularized by C++ templates (1980s) and Java generics (2004).
Try Another Word