|Pathologically Eclectic Rubbish Lister|
Re: Why I Hate Nested If-Else blocksby dragonchild (Archbishop)
|on Jan 04, 2002 at 02:06 UTC||Need Help??|
This sounds very much like a call to think through one's designs first. (You do design, right?) Laying out the branches on paper is a very good way of doing this.
Of course, there are some gotchas. For example, the place I'm at right now has a lot of legacy code that uses the form
This is vs. the (to me) more intuitive
*blinks* I guess I just proved your point, huh? :-)
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.