News Feed
Sections




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

Smashing Magazine:
Why Coding Style Matters
October 26, 2012 @ 09:41:32

On the Smashing Magazine site there's a new article talking about coding style matters with developing projects with multiple people (or even possible contributors in the future) involved.

Coding style is how your code looks, plain and simple. And by "your," I actually mean you, the person who is reading this article. Coding style is extremely personal and everyone has their own preferred style. You can discover your own personal style by looking back over code that you've written when you didn't have a style guide to adhere to. Everyone has their own style because of the way they learned to code.

They talk about how everyone has their own personal "style" to their code and how, when working with a team, everyone needs to communicate and make sure their styles match. They also make a few recommendations for your code like leaving "clues" (comments) and making errors easier to spot. There's also a few links to tools that can help keep your code standardized including CSS Lint and the Eclipse code formatter. PHP, of course, has its own - PHP_CodeSniffer with its own rules.

0 comments voice your opinion now!
code style standard communication tools


blog comments powered by Disqus

Similar Posts

Matthew Weir O'Phinney's Blog: Automating PHPUnit2 with SPL

Klaus Graefensteiner's Blog: Enforcing PHP coding standards with Eclipse PDT

David Ramalho\'s Blog: Where\'s the sun, or, How I Write PHP!

Rob Allen: Global installation of PHP tools with Composer

Mike Naberezny\'s Blog: Fluent Interfaces in PHP


Community Events





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


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

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