Hacker News new | ask | show | jobs
by mswift 4345 days ago
You can define functions within the scope of another function in Python as well. It's up to the developer to keep it organized.
1 comments

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