Y
Hacker News
new
|
ask
|
show
|
jobs
by
knome
211 days ago
closures and objects with a single invoke() method have been considered equivalent in many views for some time.
1 comments
deepsun
211 days ago
Exactly, that's why I disagree with parent's comment:
> If there's anything that is not an object, it's a function!
link
Jtsummers
211 days ago
Functions aren't closures. To be a closure it needs to be a function paired with an environment. Functions do not inherently carry their environment with them.
link
> If there's anything that is not an object, it's a function!