[squeak-dev] SequenceableCollection #= method in current trunk differs from Squeak 5.2

Chris Muller ma.chris.m at gmail.com
Wed Jul 1 04:00:56 UTC 2020


On Tue, Jun 30, 2020 at 7:55 PM Levente Uzonyi <leves at caesar.elte.hu> wrote:

> On Tue, 30 Jun 2020, Chris Muller wrote:
>
> > Might be worth reopening this discussion.  ANY dependencies on #class
> seem like a bad thing to me, especially while it's still an in-lined
> message.  Below is the MC version that did it.  Looks like the time to
> change this
>
> Using #class by default sounds correct to me. If some instances of
> classes want to be equal to each other, they should handle that
> themselves by overriding #=.
>

Because it causes that same undesirable loss of symmetry you mentioned
about MCVersionName and String, except much worse because it's in a more
general sense instead of application-specific.  It makes headaches for
Magma applications because client code has to be aware of it.

Smalltalk wants to be about messages, not types.  What do we need to do to
make #class non-inlined and therefore overridable?  My impression is that
this is on the table for 6.0, is it still?

 - Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200630/099b56f2/attachment.html>


More information about the Squeak-dev mailing list