3 ms·
Rule of thumb: If you find yourself implementing a singleton in Python, you probably wanted a module.
by tcdent 1y ago
Rule of thumb:
If you find yourself implementing a singleton in Python, you probably wanted a module.
- chaz6 1y agoWho needs a singleton when there is @lru_cache(maxsize=1) /s