Correction: Instance Variables are not Public in Smalltalk

Last week, I said that instance variables are public in Smalltalk. That is not the case. I got confused because we are working on an improved version of Smalltalk and because of representation independent code, instance variables are public until we add a general mechanism for declaring non-public methods.

My point that Squeak (and Smalltalk) are not good examples for API design remains valid, however.

Leave a Reply