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

> 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.



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

Search: