[Newbies] Accessors for everything?

Ryan Zerby tahognome at gmail.com
Tue Jan 6 14:17:58 UTC 2009

I'm going through the laser game example presented on this list a
short time ago.  I notice that he creates accessors for everything.
Can someone explain the reasoning for that?  I can understand having a
wrapper for those functions for which you want external access.
However, doesn't it effectively remove the protection of private
variables by providing such open access on EVERYTHING.

What's the Tao of Squeak on this subject?

More information about the Beginners mailing list