News for hackers. Stuff that matters.
Re:Closures and Objects Are Equivalent (2013) by tsimionescu on Sunday November 20, 2022 @03:27AM (#33679320)
> To C++ programmers, an object is a struct with associated functions.

And a closure is a function with associated state. They really are equivalent, in C++ as well as LISPs.

There are no comments on this comment yet.