From: Steve Litt Date: 2005-12-15T03:18:28+09:00 Subject: Re: Idiom wanted: do-while On Wednesday 14 December 2005 11:24 am, Jacob Fugal wrote: > Hence the need for continuous refactoring. If that's not taking > place, it management's and/or the developers' fault, not the > break statement's. It's definitely not the break statement's fault. It might not be the developer's or management's either. It might be the fault of the marketplace, which in turn is nobody's fault -- it is what it is. If taking the time to understand the code, in preparation for refactoring, will cause a loss of customers, refactoring can wait (and unfortunately usually waits until a clean rewrite). That being said, I've always tried to refactor when possible. A lot of times management doesn't even know -- you just rewrite problematic parts. By the way, how do you like often maintained, never refactored code where they have three different variables representing essentially the same thing, and you need to decide which one to use and which one to set? SteveT Steve Litt http://www.troubleshooters.com slitt@troubleshooters.com