News Feed
Jobs Feed
Sections




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

PHPMaster.com:
Practical Refactoring, Part 1 - What is Good Code?
October 12, 2012 @ 11:15:26

On PHPMaster.com they've started up a new series focused on refactoring code to make your applications not only easier to maintain but easier to expand on in the future. In this first part they focus on what the term "good code" really means.

The main goal of refactoring is clean code, better code, or whatever you might call it. But what actually constitutes good code? Good code is smelled and tasted. If you've written a lot of code, you understand what I mean; you can easily identify whether code is good or bad with experience. But what if you are new to coding but still want to do things right? We can summarize the aspects of good code with these three guidelines: Readable, Extensible and Efficient

He goes on to explain each of these three guidelines with descriptions of what they are and what they mean to you as a developer. In the next part of the series, he'll take these three ideas and apply them to code, showing some of the most common points where they can be applied to clean things up.

0 comments voice your opinion now!
good code refactor readable extensible efficient series


blog comments powered by Disqus

Similar Posts

Andi Gutmans\' Blog: PHP coming to i5/OS

PHPMaster.com: Inattention Blindess - Missing the Obvious

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHP_CodeSniffer

PHPMaster.com: 10 Tips for Better Coding

SitePoint PHP Blog: Blueprint PHP application?


Community Events











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


opinion hhvm hack symfony2 application security code unittest introduction facebook package performance series podcast release install framework composer component language

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