3 ms·
You're saying what? Doing objects that act just like closures? :)
by skratlo 6y ago
You're saying what? Doing objects that act just like closures? :)
- munchbunny 6y agoI didn't spell it out, but the gist of it is that their behavioral equivalence means that they also share the same problems, and therefore closures aren't an obviously superior choice (regardless of the syntactic sugar aspect of the debate) the way the parent comment portrays it.
- chrisrichard 6y agoOO - data with functions Closures - functions with data