Oct. 18, 2017
5:36 a.m.
On 18 Oct 2017, at 08:32 , James Ladd <ladd.james@gmail.com> wrote:
What if accessors were generated but not mutators?
The point is that, once a method exists, there is not way to restrict who can send a message that will execute it. So if one were forces to generate a reader method, or a writer method, just to give access to a subclass, then every object n the system would also gain access. Andrew