This discussion is archived
2 Replies Latest reply: Aug 13, 2010 2:31 PM by jduprez RSS

How to replace redundant If Else condition using a Pattern.

843853 Newbie
Currently Being Moderated
I understand a Visitor pattern to an extend. What I could not gauge is how this pattern can replace an "if Else Condition" ..
I read a topic earlier - but was not clear - Can any one explain me with a simpler terms ..and with an example possibly.