By Alvin Alexander. Last updated: November 5, 2022
“There’s only ONE rule, but it’s an important one: all of your values must be functions. Not programming functions, but math functions.”
I think I read that quote in an earlier version of this article. The quote is about functional programming, and it influenced something I wrote in my book, Functional Programming, Simplified: Functional programmers think about themselves as being mathematicians, and think of their code as being a combination of algebraic equations, where each function is a pure function that you can think of in mathematical terms.