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

Well, it's only shared if you share it!

I guess it boils down to "don't use mutable globals". That's as true in threaded environments as it is in async ones.

If your requirement is that there must be system-enforced safety rather than safe practices and idioms, I'd say Python isn't the right tool (Haskell is) to begin with. As you know, Python is all about practices, idioms, and discipline.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: