in reply to Re: How would you simplify this code?
in thread How would you simplify this code?

That's a good comment, however what if these 2 (or other) attributes are only required in this subroutine and not in all subroutines of the class?
  • Comment on Re^2: How would you simplify this code?

Replies are listed 'Best First'.
Re^3: How would you simplify this code?
by chromatic (Archbishop) on Apr 07, 2011 at 17:26 UTC

    Some classes work out that way. It's not necessarily a design smell.