Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No more than HOFs are mimicking objects.

It's two schools of thought - everything is functions & data, or everything is objects & methods.



Closures are implemented as objects under the skin, but that doesn't make them equivalent conceptually to me. I suppose it's down to syntax, after all if you ignore that you can have anything you like in assembler, but it won't feel very high level.


Closures are a poor man’s objects. Objects are a poor man’s closures.


What's the "poor man's" stuff? Is there a better way I don't know of





Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: