Can variableByteSubclasses: have fixed inst vars?!
Andreas Raab
raab at isgnw.cs.Uni-Magdeburg.DE
Mon Jun 29 09:34:14 UTC 1998
> The definition is that only pointer classes can have named instance
> variables. The CompiledMethod class is a special, fudged case dating from
> the days when there were a rather limited number of oops available.
> Word or Byte classes are not supposed to have, indeed should not allow,
> named instvars.
Ah! Good to know. Then we should probably adjust Behavior>>variableByteSubclass:...
to complain about it. It's so easy to add named inst vars to these classes
and in Smalltalk everything that's not explicitly forbidden usually works
perfectly (as opposed to say C++ templates ;-))
Bye,
Andreas
--
Linear algebra is your friend - Trigonometry is your enemy.
+===== Andreas Raab ============= (raab at isg.cs.uni-magdeburg.de) =====+
I Department of Simulation and Graphics Phone: +49 391 671 8065 I
I University of Magdeburg, Germany Fax: +49 391 671 1164 I
+=============< http://isgwww.cs.uni-magdeburg.de/~raab >=============+
More information about the Squeak-dev
mailing list
|