New ask Hacker News story: Way to manage program state in Python, without OOP?

Way to manage program state in Python, without OOP?
2 by wheelerof4te | 0 comments on Hacker News.
What is the best way to manage state in Python, without resorting to classes? Do you use dataclasses, or keep everything as close to functional as you can? I don't find Python's object oriented style pythonic, and would prefer more C-like program structure. How can I efficiently and cleanly manage state in Python? Please share your solutions.

Comments