in reply to Re: (On Speed Diff, etc.) Closure on Closures (beta)
in thread Closure on Closures
Object is data wrapped in methods.
Closure is subroutine wrapped in data
It's actually the other way around. An object exposes data, a closure exposes code. As Tom C. used to say:
An object is data that knows which code acts on it.
A closure is code that knows which data to act on.
Abigail
In Section
Meditations