<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Integrated. Thanks!</p>
<p>Cheers,</p>
<div class="moz-cite-prefix">On 2026-01-06 2:11 PM, Nicolás Papagna
Maldonado via Cuis-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADGn7BN5_c6WE59tMdOB-MF7TnkP0U9z3duVS__ntTLmeMywpg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi folks,<br>
<div><br>
</div>
<div>I noticed that the current implementation of
Object>>#isKindOf: is a duplication of
Behavior>>#includesBehavior:</div>
<div><br>
</div>
<div><font face="monospace"><b>Object>>#isKindOf: aClass </b><br>
"Answer whether the class, aClass, is a superclass or
class of the receiver."<br>
<br>
self class == aClass<br>
ifTrue: [^true]<br>
ifFalse: [^self class inheritsFrom: aClass]</font></div>
<div><font face="monospace"><br>
</font></div>
<div><font face="monospace"><b>Behavior>>#includesBehavior:
aClass</b></font></div>
<div><font face="monospace"><br>
^self == aClass or:[self inheritsFrom: aClass]</font></div>
<div><font face="monospace"><br>
</font></div>
The attached changeset implements #isKindOf: using
#includesBehavior: to remove the duplicated code.<br>
<br>
Best,<br>
Nico PM</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis.st">www.cuis.st</a>
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich</pre>
</body>
</html>