Yeah, presuming an OOP context lots of branches may indicate you should use the "Replace Conditional with Polymorphism" refactoring. Push the different conditional behaviors down into a method in child classes and just call that method.
But again, that presumes a set of circumstances which may not apply in this case.
In reply to Re^2: elsif stupid question...
by Fletch
in thread elsif stupid question...
by mosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |