http://qs321.pair.com?node_id=770016


in reply to Re^2: Language features affect style
in thread Language features affect style

I'd prefer to deal with code that has passed that quality bar. :-)

Well, wouldn't we all? :-)

However, I thought that one of the motivations for refactoring was making it easier to deal with code that has not passed the quality bar. Or knocked the quality bar off and left it lying in pieces on the floor...

--
use JAPH;
print JAPH::asString();

Replies are listed 'Best First'.
Re^4: Language features affect style
by tilly (Archbishop) on Jun 09, 2009 at 17:30 UTC
    This is true. However one of the goals of refactoring is to get quality up. So there is a bit of a chicken and egg thing going on. By assuming you're going to be a particular level of quality, you can make it easier to get to that level of quality. But in the meantime you're doing something that temporarily makes maintenance harder.

    Is that trade-off worthwhile? (My answer is, "sometimes". Apply judgment, hope it is good.)