News Feed
Sections




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

Richard Smaizys' Blog:
Improve your code style with simple tips
December 03, 2010 @ 12:50:56

Richard Smaizys has a new post to his blog with a few simple tips you can follow to help improve your code's style and readability.

So you have to know and you can not forget that your program (not only websites) is like a living beast with whom many people might work in the future. Your code is like your art piece which sometimes need editing, renewal and etc. You can not just think that you will always be the person who manages everything and supports all the bugs. By understanding this you also agree that the code must be maintainable and readable not only for you after a year or two but to other people that may not be so skilled or advanced and otherwise.

He covers two things in this post (there's this other about brackets) - tabs versus spaces (or hard vs soft tabs) and a bit more on braces, specifically about the same line/next line debate.

Have some code style tips of your own or just want to discuss Richard's suggestions? Leave a comment on the post!

0 comments voice your opinion now!
code style tips suggestions opinion


blog comments powered by Disqus

Similar Posts

Stefan Koopmanschap: Want to Be More Productive? Work Less!

Mike Purcell's Blog: Symfony - PHP - Possibly Forking 1.x so Invested Companies donít Lose Millions

NETTUTS.com: Organize Your Next PHP Project the Right Way

Fabien Potencier: Why Symfony?

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


Community Events





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


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

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