patterns-discussion AT lists.siebelschool.illinois.edu
Subject: General talk about software patterns
List archive
- From: philbrown AT ukonline.co.uk
- To: win_ash12 AT yahoo.com
- Cc: "patterns-discussion AT cs.uiuc.edu" <patterns-discussion AT cs.uiuc.edu>
- Subject: Re: [patterns-discussion] Design pattern recommendation
- Date: Thu, 15 Nov 2007 16:01:18 +0000
- List-archive: <http://lists.cs.uiuc.edu/pipermail/patterns-discussion>
- List-id: General talk about software patterns <patterns-discussion.cs.uiuc.edu>
Quoting
win_ash12 AT yahoo.com:
> 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] Design pattern recommendation, win_ash12, 11/14/2007
- Re: [patterns-discussion] Design pattern recommendation, David Pokluda, 11/14/2007
- <Possible follow-up(s)>
- Re: [patterns-discussion] Design pattern recommendation, Fernando Cuenca, 11/14/2007
- [patterns-discussion] Design pattern recommendation, win_ash12, 11/14/2007
- Re: [patterns-discussion] Design pattern recommendation, Jesús Alonso, 11/14/2007
- Re: [patterns-discussion] Design pattern recommendation, David Pokluda, 11/15/2007
- Re: [patterns-discussion] Design pattern recommendation, win_ash12, 11/15/2007
- Re: [patterns-discussion] Design pattern recommendation, philbrown, 11/15/2007
- Re: [patterns-discussion] Design pattern recommendation, David Pokluda, 11/15/2007
- Re: [patterns-discussion] Design pattern recommendation, win_ash12, 11/15/2007
Archive powered by MHonArc 2.6.16.