Y
Hacker News
new
|
ask
|
show
|
jobs
by
ergo14
1946 days ago
Weird, we do it with Python all the time. Just don't use globals/threadlocals everywhere and you will be good.
1 comments
lmm
1946 days ago
As long as you're not using any libraries/frameworks that use them.
link
ergo14
1946 days ago
I don't think we've ended up with libs that share state in a dangerous way, maybe we got lucky.
link
lmm
1945 days ago
Modules are global singletons, class definitions are global singletons. Monkeypatching is less common in Python than Ruby but I'd still consider it a significant risk.
link