On Thu, Apr 3, 2008 at 3:47 PM, nicolas cellier <[EMAIL PROTECTED]>
wrote:

> If you examine the protocol of these classes, you will see that they use
> an #initialize: with an argument instead.
> No extra initialization at all performed by default (it's a deliberate
> optimization).


Ok...I kind of got the #initialize: n, but I guess I somehow thought that
#initialize would be called as well (which doesn't make sense, I know)


> You can of course create your own subclass (only SmallInteger is really
> hardly subclassable if I remember).
>
> Whether or not you should do it is another question...


This is INDEED the question!

Thank you all.  I learned a lot from this little exercise...

Rob
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to