Generic Programming

From Chessprogramming wiki
Jump to: navigation, search

Home * Programming * Generic Programming

Generic Programming,
a programming paradigm to write efficient, reusable code and software libraries, to operate on any data type, required being passed as a parameter, in C++ a compile time type parameter. Generic programming, first implemented in the Ada programming language, was pioneered by Alexander Stepanov [1], David Musser and Deepak Kapur, and obtained success in C++ when the Standard Template Library became ANSI/ISO C++ standard [2]. Generic programming invokes a metaprogramming facility within a language, in those languages supporting it. In C++, template paramater are either types or integer constants for the wider range of Template- or metaprogramming. For instance in computer chess programming, it allows to write color dependent routines once, and disband otherwise conditional code at compile-time.

Selected Publications

[3]

1980

1990 ...

2000 ...

2010 ...

Forum Posts

External Links

C++

C#

Java

Delphi

References

Up one Level