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

Zend Developer Zone:
Three Quick Tips To Make Your PHP Understandable
Jun 25, 2008 @ 12:57:19

The Zend Developer Zone has posted a new article today with three tips to help you make your code a little easier to understand (both by other coders and yourself down the road).

Producing code that clearly conveys a developer's intent is key to any well written application. That not only applies to PHP, but every programming language. Developers who emphasize the creation of legible code tend to create applications which are easier to both maintain and expand upon.

His tips include suggestions about keeping conditional logic clean, using "less PHP and more HTML" and to make the best possible use that you can out of sprintf "and friends".

tagged: tips understandable conditional logic html sprintf

Link:


Trending Topics: