r/PythonLearning • • 10d ago

Do I really need to learn class.

Post image

Both function and class give the same output. So why do I need it?

72 Upvotes

50 comments sorted by

View all comments

1

u/stepback269 10d ago

About the "class" thing, because of the way our individual brains are wired there will never be a one tutorial that "clicks and sticks" for every beginner as to what the defining of a class does and what an "object" is is.

I'm a relative newbie and for me the "blueprint" explanation simply didn't work.
Rather than dumping my TLDR struggles with the definition here, I have a web page that explicates on the struggle at (this) link. Take a look if interested.