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 08:33:18 -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,
If I had a class that has a lot of boolean flags and I have an IF condition that requires me to do a lot of AND/OR among these boolean conditions is there a design pattern that will help me to refactor this code ? Currently I have a piece of code that I am working with that has 6 boolean checks and its very hard to understand what its trying to do.
Any suggestions appreciated,
Thanks,
Aswin.
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
- [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.