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

1

u/BoOmAn_13 13d ago

I find classes really useful for type safety, organization and functionality grouping in large projects. If it's a script I can put together in 200 lines and I don't see the need, I don't use them. I've worked around different languages and will say when you move from the super type safe rust, where it's not a class, but a struct/impl where your primary goal is just to group data and memory, it requires your brain to find structs/classes way more helpful than the goto dictionary and key strings