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

You can define functions within the scope of another function in Python as well. It's up to the developer to keep it organized.



Yes, Python seems to encourage this sort of organization, while (from what I have seen) JavaScript does not.




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

Search: