News for hackers. Stuff that matters.
Re:Ask HN: What made you change your mind about a programmin... by hcarvalhoalves on Wednesday March 06, 2019 @04:37AM (#19317566)
> Objects calling other objects is optional for OOP, I never saw a definition that requires them to do. OOP is about code and data organization.

Smalltalk, which is the prototypical OO language, does the exact opposite of everything you said (all computations happen by message passing and all members are public).

Re:Ask HN: What made you change your mind about a programmin... by Const-me on Wednesday March 06, 2019 @04:48AM (#19317628)
> does the exact opposite of everything you said

No it doesn’t.

> all computations happen by message passing

I did not say message passing is required to be not present, I said it’s optional.

> and all members are public

I did not say anything about encapsulation. I said OO is about organization of code and data. If you have classes with properties and methods, it’s OOP.