The vocabulary of the job, one term at a time — what it means, and when you would say it.
Design · intermediate
A property of an expression that can be replaced by its value without changing the program.
Meaning
A property of an expression that can be replaced by its value without changing the program.
Referential transparency is what makes code easy to reason about, test, memoize, and reorder: the expression depends on nothing but its inputs and affects nothing but its output. Reading the clock, generating a random number, or writing to a log all break it. Most useful programs need those things; the discipline is to push them to named boundaries so the rest stays substitutable.
`total(items)` can be cached; `total(items, Date.now())` cannot.
No published skills are linked yet.
Work through the glossary one card at a time, in a different order every run.
Open the discover feed