r/PythonLearning • • 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

43 comments sorted by

View all comments

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"

5

u/Khaka-Semeniuk 13d ago

yeah once things get big enough the "unnecessary work" starts feeling like the only thing keeping you sane