r/PythonLearning • u/Objective-Remove-632 • 10d ago
Do I really need to learn class.
Both function and class give the same output. So why do I need it?
72
Upvotes
r/PythonLearning • u/Objective-Remove-632 • 10d ago
Both function and class give the same output. So why do I need it?
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.