Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
4
Newest
 Scholar
Impact
~940 people reached

  • 0 posts edited
  • 0 helpful flags
  • 2 votes cast
Feb
12
comment Using module level declared global “singletons” in python
@User thanks for the link, actually with this in my mind asked that what python masters think about global singletons. Maybe this is the wrong forum to ask such questions...
Feb
12
comment Using module level declared global “singletons” in python
@User Let's say that the true oo way is that you pass the things your types use as arguments instead of accessing them globally. But what I really wanted to ask is that is it ok to do use this kind of globals in python, or it's a code smell.