Comment on What is OOP, really? Why so many different definitions?
bizdelnick@lemmy.ml 11 months ago
Does it really matter? This knowledge won’t help you in writing code.
Comment on What is OOP, really? Why so many different definitions?
bizdelnick@lemmy.ml 11 months ago
Does it really matter? This knowledge won’t help you in writing code.
matcha_addict@lemy.lol 11 months ago
OOP is one of, if not the most popular programming paradigm. Surely understanding it at a theoretical level isn’t useless. It would be the first step to understanding its benefits and trade offs.
polygon6121@lemmy.world 11 months ago
Use it for a while, to complement your theoretical study. Things will become clearer when you have your own understanding and opinion about it.
ALostInquirer@lemm.ee 11 months ago
How would one use it if they’re struggling to understand it to start with? 🤨
polygon6121@lemmy.world 11 months ago
You are right. But I still find the ‘heavier’ theory, that is what I assumed OP refered to, to be more difficult to grasp then following a basic tutorial and just trying to solve problems. In time with practice you get a better understanding for WHY the theory is how it is, and you can apply it better and of course improve your code. And that understanding will unlock more tools both in OOP and in your mind.
So if you are struggling, I recommend not starting with theory.
bizdelnick@lemmy.ml 11 months ago
Theoretical level is useless, believe me. What is useful is understanding at intuitive level. You can achieve it with or without knowing theory, but you need a lot of practice anyway. Also, different languages providing OOP actually encourage different approaches. You have to follow one that your PL is suited to and that is the best solution for your current task, not that OOP or any other paradigm dictates you.