3 ms·
> 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
by tsimionescu 4y ago
> 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.