The Power of Generic Operations
Most systems we build work well for the application that they were designed for, but they are brittle in that adapting to even small changes in the problem requires large changes in the code. Can we optimize for flexibility, trading off other virtues like proofs of correctness or efficient execution? I think this is often the right path.
Indeed, Postel's Law, "Be conservative in what you do, be liberal in what you accept from others," is strong advice for enhancing robustness in open systems.
In the spring term I teach an advanced programming class, where the goal is to learn how to avoid programming oneself into a corner. One of the most powerful (and dangerous) techniques for enhancing flexibility is the use of extensible generic operations.
I will show where it is to our advantage to make systems with extensible generic operations, and how to control such systems.
Gerald Jay Sussman is the Panasonic Professor of Electrical Engineering (https://en.wikipedia.org/wiki/Electrical_engineering) at the Massachusetts Institute of Technology (https://en.wikipedia.org/wiki/Massachusetts_Institute_of_Technology) (MIT). He received his S.B. (https://en.wikipedia.org/wiki/Bachelor_of_Science) and Ph.D. (https://en.wikipedia.org/wiki/Doctor_of_Philosophy) degrees in mathematics (https://en.wikipedia.org/wiki/Mathematics) from MIT in 1968 and 1973 respectively. He has been involved in artificial intelligence (https://en.wikipedia.org/wiki/Artificial_intelligence) research at MIT since 1964. His research has centered on understanding the problem-solving strategies used by scientists and engineers, with the goals of automating parts of the process and formalizing it to provide more effective methods of science and engineering education. Sussman has also worked in computer languages, in computer architecture and in VLSI (https://en.wikipedia.org/wiki/VLSI) design.
Sussman is a coauthor (with Hal Abelson (https://en.wikipedia.org/wiki/Hal_Abelson) and Julie Sussman) of the introductory computer science textbook Structure and Interpretation of Computer Programs (https://en.wikipedia.org/wiki/Structure_and_Interpretation_of_Computer_Programs). It was used at MIT for several decades, and has been translated into several languages.
Sussman's contributions to artificial intelligence (https://en.wikipedia.org/wiki/Artificial_intelligence) include problem solving by debugging almost-right plans, propagation of constraints applied to electrical circuit analysis and synthesis, dependency-based explanation and dependency-based backtracking, and various language structures for expressing problem-solving strategies. Sussman and his former student, Guy L. Steele (https://en.wikipedia.org/wiki/Guy_L._Steele) Jr., invented the Scheme programming language (https://en.wikipedia.org/wiki/Scheme_(programming_language)) in 1975.