News Feed
Sections




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

Oscar Merida:
Smelly PHP code
November 09, 2012 @ 09:21:57

Oscar Merida has written up a sort of continuation to this series from Adam Culp about clean code, one that shares more tips on knowing when to refctor.

Adam Culp posted the 3rd article in his Clean Development Series this week, Dirty Code (how to spot/smell it). When you read it, you should keep in mind that he is pointing out practices which correlate with poorly written code not prescribing a list of things to avoid. It's a good list of things to look for and engendered quite a discussion in our internal Musketeers IRC.

His suggestions include things like "Comments are valuable", "Using switch statements" and a few other smaller ones involving error suppression, globals and prepared statements in database usage.

0 comments voice your opinion now!
smell code refactor tips clean development


blog comments powered by Disqus

Similar Posts

PHPClasses.org: Lately in PHP Podcast Episode 21 - Is PHP Source Quality Really Good?

Zend Developer Zone: ZendCon Sessions Episode 11: The Grown-Up Company's Guide to Development

Matt Curry's Blog: CakePHP Book and Code Updates

Lorenzo Alberton's Blog: Book review: "PHP Oracle Web Development" by Yuli Vasiliev

Davey Shafik\'s Blog: All for naught... (Cerebral Cortex Framework)


Community Events





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


introduction language install developer code community symfony2 laravel interview framework refactor threedevsandamaybe release podcast opinion unittest list experience series testing

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