There are so many definitions of OOP out there, varying between different books, documentation and articles.

What really defines OOP?

  • matcha_addict@lemy.lolOP
    link
    fedilink
    arrow-up
    0
    ·
    1 year 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
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 year ago

      Use it for a while, to complement your theoretical study. Things will only become clearer when you have your own understanding and opinion about it.

        • polygon6121@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          1 year 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.