Monday, June 06, 2005

Strategy 6 - Still too many ifs

You tried moving stuff around and still ended up with ifs.

Refactor the ifs into the setup - you may find a factory allows you to create the appropriate object for the appropriate if.

0 Comments:

Post a Comment

<< Home