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

What really defines OOP?

  • MajorHavoc
    link
    fedilink
    arrow-up
    25
    arrow-down
    6
    ·
    edit-2
    10 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.

    • Hexarei
      link
      fedilink
      arrow-up
      14
      ·
      10 months ago

      Let’s just not talk about the part where the computer is inherently stateful though 😉