News Feed
Sections




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

NETTUTS.com:
Top 15+ Best Practices for Writing Super Readable Code
December 09, 2009 @ 07:50:51

On NETTUTS.com today Burak Guzel has written up some good tips on how to make your code much more readable (and easier to maintain in the future. Not all of them are directly PHP related, but they are general enough to be applied in other places in your development.

Code readability is a universal subject in the world of computer programming. It's one of the first things we learn as developers. Readable and maintainable code is something to be proud of in a finished product. We can share it with others, contribute to other projects, and reuse code from applications we wrote months or even years ago.

Tips included in the list cover topics like:

  • comments & documentation
  • code grouping
  • avoiding deep nesting
  • using consistent temporary names
  • using object-oriented code versus procedural
  • effective refactoring
0 comments voice your opinion now!
bestpractices readable code tutorial


blog comments powered by Disqus

Similar Posts

NETTUTS.com: Image Resizing Made Easy with PHP

NetTuts.com: Build Web Apps From Scratch With Laravel: Filters, Validations, and Files

DevShed: Paginating Result Sets for a Search Engine Built with MySQL and PHP 5

Alan Knowles' Blog: Getting Started with HTML_FlexyFramework, DataObjects and HTML_Template_Flexy

Community News: PHPFreaks Relaunch


Community Events





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


introduction bugfix opinion language zendserver community laravel tips podcast developer release api interview symfony threedevsandamaybe series framework deployment list library

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