"Closures are poor man's objects and vice versa" - What does this mean?

Posted by Rahul G on Stack Overflow See other posts from Stack Overflow or by Rahul G
Published on 2010-03-23T05:38:57Z Indexed on 2010/03/24 5:43 UTC
Read the original article Hit count: 424

Closures are poor man's objects and vice versa.

I have seen this statement at many places on the web (including SO) but I don't quite understand what it means. Could someone please explain what it exactly means?

If possible, please include examples in your answer.

Thanks.

© Stack Overflow or respective owner

Related posts about functional-programming

Related posts about object-oriented