<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Phil,<br>
<br>
species<br>
"Answer the preferred class for reconstructing the receiver. For
example, <br>
   collections create new collections whenever enumeration messages
such as <br>
   collect: or select: are invoked. The new kind of collection is
determined by <br>
   the species of the original collection. Species and class are
not always the <br>
   same. For example, the species of Interval is Array."<br>
<br>
On 10/2/2019 10:32 PM, Phil B wrote:
<blockquote
cite="mid:CAMJMOehrD1-FNvg0XQNGmuLPtP+wRy39O_0pEjgzdNrpy_oYww@mail.gmail.com"
type="cite">
<div dir="ltr">...
<div class="gmail_quote">
<div><br>
</div>
<div>Fair point: the first line in the comment and the last
seem contradictory. So which one wins? (The 'species and
class are not always the same' part is consistent with the
first line, the particular example that follows doesn't seem
to be)</div>
<div>Â </div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff"> So it seems that #species tries to
be too many different things at once...<br>
</div>
</blockquote>
<div><br>
</div>
<div>I would agree with that. That's why I'm pressing the
issue... I'd like us to at least agree what it means in Cuis
and use it consistently. Having it mean X except when it
doesn't isn't terribly useful. Having it mean X, Y or Z
(which are mutually exclusive) is even worse.</div>
</div>
</div>
</blockquote>
<br>
I agree. That very comment is already contradictory. As this very
thread shows, different people have understood it differently. And
given that this message seems to be quite old, it might be present
in other dialects (Squeak derived or not), and in ANSI Smalltalk.
I'm not sure there's much we can do, besides trying not to break too
much code...<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
</body>
</html>