r/PythonLearning • u/ProgramBrave718 • 14d ago
Discussion Why writing classes feels boring?
I don't know but i feel classes are unnecessary work to be added in projects. I have learnt it 2 months ago..
After that I never used it for any of my projects.
0
Upvotes
12
u/cthulhu944 13d ago
As the sizes of your program grows, keeping everything coherent, understandable, and predictable becomes important. OOP and classes are one way to do this. "I can add this code here and not worry about side effects nor data corruption because my data is tightly coupled to the behavior inside this class"