patterns-discussion AT lists.siebelschool.illinois.edu
Subject: General talk about software patterns
List archive
- From: <win_ash12 AT yahoo.com>
- To: patterns-discussion AT cs.uiuc.edu
- Subject: [patterns-discussion] Design pattern recommendation
- Date: Wed, 14 Nov 2007 18:36:07 -0800 (PST)
- List-archive: <http://lists.cs.uiuc.edu/pipermail/patterns-discussion>
- List-id: General talk about software patterns <patterns-discussion.cs.uiuc.edu>
Hello to all the four who replied (I guess a Gang of Four did reply to my message!!)
Thanks for all the suggestions. I will certainly look at all of them closely. Though it looks I may need the State pattern. I will also buy that book that was recommended.
In any case here is the code thats hard to read
Basically thats the code that I am trying to refactor ( I have relabeled the methods )
if (call.isNothingReturned() && (cCall.hasLockingCondition() || getUtility().usesConfig() )
&& (!call.shouldBuildObject()) && (getUtility().externalWriteUtility() || (!call.hasParameters())) && (!call.isWriteRequired()))
Get easy, one-click access to your favorites. Make Yahoo! your homepage.
- [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.