Feb. 16, 2009
10:11 a.m.
On Sat, Feb 14, 2009 at 4:23 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Check for a =, ==, ~=, or ~~ message being sent to true/false or with true/false as the argument. Many times these can be eliminated since their receivers are already booleans. For example, "anObject isFoo == false" could be replaced with "anObject isFoo not" if isFoo always returns a boolean. Sometimes variables might refer to true, false, and something else, but this is considered bad style since the variable has multiple types.
Issue #577 -- Damien Cassou http://damiencassou.seasidehosting.st