Refactoring to Strategy: What happens with Conditional Logic?
"katerinaxristopoulou" <[email protected]> Mon, 22 Nov 2010 15:29:03 -0000
| Newsgroups | gmane.comp.programming.refactoring |
|---|---|
| Message-ID | <[email protected]> |
Hello all,
I have recently read "Refactoring to Patterns" by J.Kerievsky and I have a question regarding "Refactoring Conditional Logic with Strategy". I really don't understand what happens with conditional logic and how it is eliminated. I feel like the conditional logic is somehow moved to the client rather than being eliminated, but i'm not sure about that cause then, the problem with complicated conitional logic still remains.
What's your opinion? Is it more clear for someone else?
Thanks,
Katerina
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/refactoring/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/refactoring/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/