3 ms·
> If an object has getters and setters for all its members, then it isn't really an object. Minor quibble. Take for example a coordinate class, that you can ge
by jfoutz 10y ago
> If an object has getters and setters for all its members, then it isn't really an object.
Minor quibble. Take for example a coordinate class, that you can get/set cartesian, and get/set polar. It's a nice example of an object with no private state, but transparently hides the coordinate system transformations.
In general, i agree with you. The vast majority are just (possibly immutable) structs.