Need feedback on simple idea

Jecel Assumpcao Jr jecel at merlintec.com
Thu Apr 10 21:48:33 UTC 2003


On Thursday 10 April 2003 18:11, German Morales wrote:
> It seems that Stephane Ducasse wrote:
> > remove direct access to instance variables a la self
>
> I like Self, so why not?

Self is my favorite Smalltalk, but simplicity is the result of a 
complete package: message sends are used to replace access to instance 
variables, arguments, temporaries, class variables, pool variables and 
globals variables. If you replace just some of these, then the language 
becomes more complex instead of simpler. If you replace all of these, 
then having an efficient enough implementation becomes a real problem.

I wouldn't worry about this change making all IVs public, but would 
instead add some reasonable namespace mechanism.

-- Jecel



More information about the Squeak-dev mailing list