News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Keith Casey:
Refactor vs Rebuild New Years make New Beginnings
January 09, 2013 @ 09:23:31

Keith Casey has an interesting new post to his site looking at a common dilema among development groups - whether refactor or rewrite is a better option for the state of the current codebase when it comes time for a change.

In software development, we're spoiled. We can write a single line of code and do some interesting things. If we add a framework, that single line of code is backed up by thousands.. and can do even more impressive things. [...] I can't tell you how many people have pitched me to "rewite web2project using [framework x]." At first pass, it sounds like a great idea. We can lay the foundation for doing things "right." We can use the latest and greatest tools, technology, and concepts. Even better, we don't have to figure out all that old crappy code! It's open source so it's free anyway. Everyone wins! How many times have you looked at an application and thought "I could rebuild that in a weekend!"

He points out the "seductive" nature of this kind of thinking and some of the things that it can hide from your immediate vision. These are things like: the lessons that were learned and implemented in the current code, catch up vs new development on the project and the possibility of "killing the community" as they'd no longer know which part of the project to contribute to.

He suggests instead of worrying about a rewrite, that development groups worry more about managing technical debt in their applications and reducing that piece by piece instead.

0 comments voice your opinion now!
refactor rewrite opinion technicaldebt


blog comments powered by Disqus

Similar Posts

Kamran Usman's Blog: Zend is going the Wrong Way I think

Giorgio Sironi's Blog: Missing the point (OOP in scripting languages)

Xaprb's Blog: Four types of database abstraction layers

The Codist Blog: Followup To: I Will Never Understand the Appeal Of PHP

Ed Finkler's Blog: The MicroPHP Follow-up FAQ


Community Events





Don't see your event here?
Let us know!


library release series wordpress community developer language interview install application symfony threedevsandamaybe code api list configure unittest laravel podcast introduction

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework