On 30.01.2015, at 22:15, tim Rowledge <
[hidden email]> wrote:
> On 30-01-2015, at 12:36 PM, Eliot Miranda <
[hidden email]> wrote:
>
>>
>>
>> On Fri, Jan 30, 2015 at 12:27 PM, tim Rowledge <
[hidden email]> wrote:
>> Seriously? How did that happen?
>>
>> I did it. It's so that one finds usages such as
>>
>> Smalltalk classNamed: #Array
>
> Hmm, ok. It’s more than a bit disconcerting but I kinda see your logic. Can’t even really argue for double-checking against the ‘classNamed:’ since obviously anyone could come up with an analogous message that would screw that.
>
Yes. For example, I have written code like this (don't ask why ;))
possibleRuleClasses
^ (self subclassesIfAvailable: #GRSlimeBlockLintRule),
(self subclassesIfAvailable: #GRSlimeParseTreeLintRule)
select: [:cls | cls name beginsWith: 'GR']
Best
-Tobias