News for hackers. Stuff that matters.
Re:It’s time to move on from OOP? by andrenth on Tuesday July 23, 2019 @05:20PM (#20510313)
Sure, not all FP languages provide encapsulation, and neither do all OO languages (e.g. in Ruby there's always some way to access an object's private parts).

My point was simply that the nice property you described can be achieved by using ADTs, and you don't need OO to have that.

Re:It’s time to move on from OOP? by protomolecule on Wednesday July 24, 2019 @05:35AM (#20513545)
I think there is a difference between having a way to bypass encapsulation and deliberately not having encapsulation at all. Otherwise I agree with you.