Re: [Pharo-users] questionable questionable code critic

2015-04-24 Thread Clément Bera
Code critics relies on simple rules, such as the use of the selector #isKindOf: . It does not detect the second case because the rule is simple, though both are questionable. Best, 2015-04-24 18:24 GMT+02:00 Peter Uhnák : > Why does CodeCritic (QualityAssistant) considers this questionable > >

[Pharo-users] questionable questionable code critic

2015-04-24 Thread Peter Uhnák
Why does CodeCritic (QualityAssistant) considers this questionable canBeTargetFor: aController ^ aController isKindOf: DMNodeController and yet this seems fine to him canBeTargetFor: aController ^ aController class = DMNodeController ~~~