<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 08 Jul 2008 23:43:32 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Paul Jones' Blog: Line Length, Volume, and Density]]></title>
      <guid>http://www.phpdeveloper.org/news/9775</guid>
      <link>http://www.phpdeveloper.org/news/9775</link>
      <description><![CDATA[<p>
In a <a href="http://paul-m-jones.com/?p=276">new blog post</a>, <i>Paul Jones</i> looks at three aspects of coding style - line length, volume and density - and how different people have different assumptions as to what's "right".
</p>
<blockquote>
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").
</blockquote>
<p>
He mentions the <A href="http://pear.php.net/manual/en/standards.php">PEAR style guide</a> 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.
</p>]]></description>
      <pubDate>Tue, 11 Mar 2008 09:33:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Code is Beautiful]]></title>
      <guid>http://www.phpdeveloper.org/news/5197</guid>
      <link>http://www.phpdeveloper.org/news/5197</link>
      <description><![CDATA[<p>
In <a href="http://feeds.feedburner.com/ZendDeveloperZone?m=50">this post</a> from the Zend Developer Network, there's some talk about a web service that can be useful to any PHP developer out there - new to the language or not. Bad coding practices can lead to hard to read code, the worst of them is not formating your code correctly. Thankfully, there's <a href="http://formatter.gerbenvv.nl/version3/index.php?lang=en">PHPFormatter</a> to help out.
</p>
<quote>
<i>
Using this service, you can upload your code, beautiful or crappy and it will format it for you. If you don't bother to register, you can choose from several of the standard formats like PEAR, BSD or GNU style formatting. If you register with the site (free) you can define your own style.
</i>
</quote>
<p>
<i>Cal</i> also includes some of the reasons the PHPFormatter crew give for making code beautiful, including bringing a project's code up to your current style or fixing a downloaded, unreadable script. You can also use it to format your code to fit with the PEAR style.
</p>]]></description>
      <pubDate>Tue, 18 Apr 2006 13:13:57 -0500</pubDate>
    </item>
  </channel>
</rss>
