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

What really defines OOP?

  • HyonoKo@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Instead of making one big mess, you make multiple smaller messes and stuff them into objects.

    • MajorHavoc@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      5 months ago

      Yep. State is bad, so in OOP we take the huge ugly ball of unnecessary state, and we spread it across the program ecosystem as a thin ugly brittle venier of unnecessary state.