Comment by dorfsmay
10 years ago
Wouldn't closure be more like a single-method-objectin a class that has no class methods?
A clojure carries its own states (variables) that it, only, can modify. While the states (variables) of an object can be changed by another method for the same object, or by a class method, or even methods from another object if it uses method variables.
No comments yet
Contribute on Hacker News ↗