Eliminating assignments and variable syntax (accessors)

Marcel Weiher marcel at system.de
Mon Aug 2 21:56:31 UTC 1999


> From: Stefan Matthias Aust <sma at netsurf.de>
>
> The problem IMHO is that now "self a: b" and "a: b" doesn't mean  
the same.
> While the first expression always accesses an instvar of the self  
object,
> the second expression will assign a temporary called "a" if one exists. 

Well, the problem is the same as for a:=b.  'a' can be either an  
instance variable or a local variable.  I am not saying this is good  
or bad, it's just the same is it is now.

Marcel





More information about the Squeak-dev mailing list