News for hackers. Stuff that matters.
Re:When Objects Are Not Enough by niam on Thursday July 25, 2024 @02:18PM (#41071669)
I think you're right that, in the object-oriented world, a method isn't a necessary condition for most people to consider something an "object".

What the author seems to be saying is that if someone asked you to sell OOP, one way you'd sell it is by mentioning that an object can couple logic and state. That's a distinguishing factor between objects and other data structures.

Re:When Objects Are Not Enough by jghn on Thursday July 25, 2024 @03:01PM (#41072153)
> one way you'd sell it is by mentioning that an object can couple logic and state

Depends on the OOP paradigm. This is not always the case.