News for hackers. Stuff that matters.
Re:“A closure is a poor man’s object; an object is a poor ma... by dragonwriter on Monday May 01, 2017 @07:51PM (#14242837)
The thing is, in simple cases the implementation will trivially parallel the sensible interface. So setters are appropriate.

The problem becomes using setters where that's not the case, often to support tooling that is dependent on constructing objects from serialized state (which often also involves the same kind of abuse of getters, to which exactly the same concerns apply.)

Re:“A closure is a poor man’s object; an object is a poor ma... by dllthomas on Monday May 01, 2017 @08:40PM (#14243094)
To be clear, I wasn't endorsing the concern, just attempting to clarify it. It doesn't surprise me that it can be over-applied.