Quoting [EMAIL PROTECTED]:

> Thanks David for your prompt response. I presume after refactoring the code
> for readability then the next step would be to introduce the State Design
> pattern for conditionals such as the one I have ? 
> Regards,
> Aswin.
> 

The State pattern would be applicable if you can think of the purpose of the
tests being to determine the state of your object. The fact that they are based
on calls to other objects suggests that this may not be the case. 

Cheers
Philip 

----------------------------------------------
This mail sent through http://www.ukonline.net
_______________________________________________
patterns-discussion mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/patterns-discussion

Reply via email to