Skip to main content

Neal Ford: Memoization and functional synergy

All programming languages are adding functional features as runtimes become powerful enough to accommodate performance or memory overhead. One of the many benefits of functional programming is that you can offload cumbersome or error-prone tasks to the runtime. Another is the ability to combine functional features concisely in your code. In this installment, I explore memoization in the languages. Then, using a Clojure example, I show how the synergy among functional features enables generic solutions to common problems...

Community: General