generic programming


generic programming

(programming)A programming technique which aims to makeprograms more adaptable by making them more general. Genericprograms often embody non-traditional kinds of polymorphism;ordinary programs are obtained from them by suitablyinstantiating their parameters. In contrast with normalprograms, the parameters of a generic programs are often quiterich in structure. For example they may be other programs,types or type constructors or even programmingparadigms.