News Feed
Sections




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

PHPImpact Blog:
Code Refactoring Guidelines
September 16, 2008 @ 12:16:00

Federico has posted a list of suggestions on things to look out for and to consider when you're refactoring your code.

Refactoring neither fixes bugs nor adds new functionality, though it might precede either activity. Rather it improves the understandability of the code and changes its internal structure and design, and removes dead code, to make it easier to comprehend, more maintainable and amenable to change. Refactoring is usually motivated by the difficulty of adding new functionality to a program or fixing a bug in it.

He's broken it out into a few topics with the suggestions underneath - things like looking at the "Big Picture", avoiding "Extreme Abstraction" and ensuring that your "Error Handling" is up to where it should be.

0 comments voice your opinion now!
refactoring guideline suggestion list


blog comments powered by Disqus

Similar Posts

NetTuts.com: Refactoring Legacy Code: Part 2 - Magic Strings & Constants

Sebastian Bergmann's Blog: Who Uses PHPUnit?

Reinhold Weber's Blog: 40 signs you really are a lousy PHP programmer

phpRiot.com: Creating sortable lists with PHP and AJAX

Soledad Penades' Blog: Signs your PHP needs refactoring


Community Events





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


release interview language opinion community configure extension list laravel voicesoftheelephpant conference api series version podcast install introduction symfony composer unittest

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