I would take the route of first order functions -> anonymous functions -> closures
But those are three completely different concepts. A closure need not be anonymous or even first-order.
But those are three completely different concepts. A closure need not be anonymous or even first-order.
I would take the route of first order functions -> anonymous functions -> closures, but I think it is really a lost cause for the typical 9-5 programmers.