<?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>Sat, 25 May 2013 14:29:32 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Stoyan Stefanov's Blog: Fancy Formatting]]></title>
      <guid>http://www.phpdeveloper.org/news/9298</guid>
      <link>http://www.phpdeveloper.org/news/9298</link>
      <description><![CDATA[<p>
<i>Stoyan Stefanov</i> has a <a href="http://www.phpied.com/fancy-formatting/">fun little post</a> showing an interesting formatting trick to make reading arrays/hashes easier:
</p>
<blockquote>
Writing readable code means proper indentation. Usually you'd tab (or use 2 or 4 or 3 spaces) after every curly bracket. [...] Same goes when you have a bigger hash/object sort of thing [...] But recently, inspired by Firebug's Net panel way of presenting header information, I tried aligning the keys to the right in addition to aligning the values to the left.
</blockquote>
<p>
Check out <a href="http://www.phpied.com/fancy-formatting/">the entry</a> for examples of each of these techniques and see which might fit your programming style the best. Personally, the align right style looks nice but could be more of a pain than it's worth to force my editor into.
</p>]]></description>
      <pubDate>Fri, 21 Dec 2007 12:06:00 -0600</pubDate>
    </item>
  </channel>
</rss>
