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

What really defines OOP?

    • polygon6121@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      3
      ·
      5 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.

      • ALostInquirer@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        5 months ago

        I see where you’re coming from, I think. In my experiences with trying to follow tutorials though, I’ve found the difficulty to be between rough explanations and the examples given feeling a little too simple and isolated from how they might be applied in a working program.

        • polygon6121@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          5 months ago

          Yes, and often incomplete or not maintained.

          Anyway, OP read different sources about OOP and still needs to ask the definition… At some point it is better to just do something than to keep banging your head at the theory. If learning to code is your endgoal