Hacker News new | past | comments | ask | show | jobs | submit login

I was happy to see “Nested local functions or classes are fine”

Being a mostly Lisp developer, I like to nest local functions in order to close over locally defined variables. Glad that is considered OK in Python.




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

Search: