Skip to Content.
Sympa Menu

patterns-discussion - [patterns-discussion] Design pattern recommendation

patterns-discussion AT lists.cs.illinois.edu

Subject: General talk about software patterns

List archive

[patterns-discussion] Design pattern recommendation


Chronological Thread 
  • 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.


Archive powered by MHonArc 2.6.16.

Top of Page