Everything About ___
Live briefing

Everything about Generic programming

Style of computer programming

Generic programming is a style of computer programming in which algorithms are written in terms of data types to-be-specified-later that are then instantiated when needed for specific types provided as parameters. This approach, pioneered in the programming language ML in 1973, permits writing common functions or data types that differ only in the set of types on which they operate when used, thus reducing duplicate code. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Generic programmingA 5-minute orientation
  2. Skim a recent paper: Generic implementation of path design for spray deposition: Programming schemes, processing and characterization for cold sprayingInfluential work since 2022
  3. Pick up a classic book: CoriolanusThe most-reprinted book on the subject
  4. Read the landmark paper: The Generic Nature of Optimality Conditions in Nonlinear ProgrammingCited 56 times
  5. Go sideways: Template (C++)A closely related topic
  6. Go sideways: Template metaprogrammingA closely related topic

📖 Definitions

Noun A style of computer programming in which algorithms are written in terms of to-be-specified-later types that are then instantiated when needed for specific types provided as parameters.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics