<?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>Fri, 09 Jan 2009 15:41:08 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Stefan Koopmanschap's Blog: Tip: use clearly readable variable names, and constants!]]></title>
      <guid>http://www.phpdeveloper.org/news/9180</guid>
      <link>http://www.phpdeveloper.org/news/9180</link>
      <description><![CDATA[<p>
<i>Stefan Koopmanschap</i> has <a href="http://www.leftontheweb.com/message/Tip_use_clearly_readable_variable_names_and_constants">a good reminder</a> for developers out there in a new post to his blog - make your code much easier to understand via readable variable names and constants.
</p>
<blockquote>
Yes, you know what code you write and you also know how it works. You can find your way around it. But what if you haven't touched a piece of code for months or even years. Or what if someone else needs to work with your code. Prevent a hell: use clearly readable variable names and constants.
</blockquote>
<p>
He points out an example of what not to do - a specific line from the FUDForum code with multiple variables named with a single letter of the alphabet in a complex if() evaluation. He suggests even using "namespacing" of sorts (PHP6 here we come!) to help compartmentalize your variables to make things even easier.
</p>]]></description>
      <pubDate>Wed, 05 Dec 2007 12:05:00 -0600</pubDate>
    </item>
  </channel>
</rss>
