News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Paul Jones' Blog:
Line Length, Volume, and Density
March 11, 2008 @ 09:33:00

In a new blog post, Paul Jones looks at three aspects of coding style - line length, volume and density - and how different people have different assumptions as to what's "right".

When it comes to coding style, there are are various ideas about how you should write the individual lines of code. The usual argument is about "how long should a line of code be"? There's more to it than that, though. Developers should also take into account line volume ("number of lines") and line density ("instructions per line").

He mentions the PEAR style guide when talking about line length, reading code like and sentence in line volume/density and how the "shorter is better" concept can be pushed to its extreme limits taking code into the unreadable zone.

0 comments voice your opinion now!
coding standard style volume length density



Similar Posts

Make Me Pulse Blog: PHP6, Unicode and TextIterator features

PHP-GTK Community Site: Playing with GtkStyle

JellyandCustard.com: Using DirectoryIterator to List Files in PHP

Paul Jones\' Blog: ASP-Style Programming in PHP?

PHP Thinktank Blog: IRC Discussions - Standard PHP Library


Community Events











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


framework zend PEAR job database security PHP5 package ajax zendframework example code cakephp mysql developer conference release application releases book

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