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

I always wondered what closures actually were. I'd read up on them, but apparently Python didn't have them so I always felt that I was missing something.

Thanks for clearing this up.



A lot of people don't seem to understand the difference between closures and lambdas, and a lot of people get it backwards as soon as someone points it out to them. Good to know there's one clear demonstration out there.

Actually, if you could pass this on to people when you hear them refer to lambdas as closures, that would be pretty awesome.




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

Search: