<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        
                                        
                                            
                                        
                                        
                                        Hi Subbu,<div><br></div><div>here, regular message sends are more flexible than using #isKindOf: (or #includesBehavior:). Any class in the hierarchy can choose to answer to "is*" messages. That's not that easy with #isKindOf:, which depends on the subclass structure, which is hard to "fake" for a specific instance. I suppose that overriding #isKindOf: would be possible but troublesome...</div><div><br></div><div>Here is more on this topic:</div><div><a href="http://forum.world.st/isKindOf-in-Morphic-code-tp4904890p4904965.html">http://forum.world.st/isKindOf-in-Morphic-code-tp4904890p4904965.html</a></div><div><a href="http://forum.world.st/isKindOf-in-Morphic-code-tp4904890p4904935.html">http://forum.world.st/isKindOf-in-Morphic-code-tp4904890p4904935.html</a></div><div><br></div><div>Best,</div><div>Marcel </div><div class="mb_sig"></div>
                                        
                                        <blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 08.05.2019 18:10:52 schrieb K K Subbu <kksubbu.ml@gmail.com>:</p><div style="font-family:Arial,Helvetica,sans-serif">This can lead to an explosion in methods. How about catching the pattern 
<br>in DNU and returning true for isObject and false for any selector 
<br>matching 'is[A-Z]*' or the more specific 'is<class>'?
<br>
<br>Regards .. Subbu
<br>
<br>On 08/05/19 11:27 AM, Marcel Taeumel wrote:
<br>> +1 for consistency :-)
<br>> 
<br>> We should add more tests for isNumber, isCollection, isBoolean ... to 
<br>> document the intended use.
<br>> 
<br>> Best,
<br>> Marcel
<br>>>
<br>>> Am 08.05.2019 01:36:16 schrieb commits@source.squeak.org 
<br>>> <commits@source.squeak.org>:
<br>>>
<br>>> Chris Muller uploaded a new version of Kernel to project The Inbox:
<br>>> http://source.squeak.org/inbox/Kernel-cmm.1228.mcz
<br>>>
<br>>> ==================== Summary ====================
<br>>>
<br>>> Name: Kernel-cmm.1228
<br>>> Author: cmm
<br>>> Time: 7 May 2019, 6:36:01.955169 pm
<br>>> UUID: 2fad2a41-3aec-4e22-b9e8-cce50f7f6808
<br>>> Ancestors: Kernel-nice.1227
<br>>>
<br>>> Allow identification of instances of Boolean via #isBoolean.
<br>>>
<br>>> =============== Diff against Kernel-nice.1227 ===============
<br>>>
<br>>> Item was added:
<br>>> + ----- Method: Boolean>>isBoolean (in category 'testing') -----
<br>>> + isBoolean
<br>>> + ^ true!
<br>>>
<br>>> Item was added:
<br>>> + ----- Method: Object>>isBoolean (in category 'testing') -----
<br>>> + isBoolean
<br>>> + ^ false!
<br>>>
<br>>>
<br>> 
<br>> 
<br>
<br></commits@source.squeak.org></class></div></blockquote></div>