Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: OT: Rewrite or Refactor?

by adrianh (Chancellor)
on Aug 27, 2006 at 09:27 UTC ( [id://569870]=note: print w/replies, xml ) Need Help??


in reply to OT: Rewrite or Refactor?

My vote would be for refactor. Two reasons. You've missed on big disadvantage from the rewrite option. You won't have a working system for some time. If you're refactoring you'll always have a working system.

We might not end up with the new ideal architecture, because refactoring works on the code level, not on architectural level.

I think you will get your ideal architecture, or at least you can get there with some tiny rewrites on top of a lot of refactoring. That's been my experience anyway. The architecture is, after all, embodied in the code. In general I've found incremental change to be a far more effective technique that a rewrite from scratch.

Take a look at Working Effectively with Legacy Code and the Strangler Application pattern for some ideas.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://569870]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-04-19 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found