<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: if succinctly</title>
	<atom:link href="http://www.3till7.net/2006/06/07/if-succinctly/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.3till7.net/2006/06/07/if-succinctly/</link>
	<description>Programming, espresso, and grumbling.</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:27:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Frosty</title>
		<link>http://www.3till7.net/2006/06/07/if-succinctly/comment-page-1/#comment-3106</link>
		<dc:creator>Frosty</dc:creator>
		<pubDate>Sun, 18 Jun 2006 06:36:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/2006/06/07/if-succinctly/#comment-3106</guid>
		<description>Well it is useful for extension loading in PHP (and in fact, it&#039;s the only thing I use that type of if statement in, for example:

&lt;code&gt;
$prefix = (PHP_SHLIB_SUFFIX == &quot;dll&quot;) ? &quot;php_&quot; : &#039;&#039;;
&lt;/code&gt;

it&#039;s a lot neater than a full-blown if statement, and I understand what it&#039;s for (I have no clue why the extensions have to have &#039;php_&#039; prefixed before them on Windows, but not on any other OS), since it&#039;s the only situation I use it for... 

And you do get used to associating that with an if statement if you see it often enough, and if you wrote it, you should reasonably be expected to know what it means and does when you&#039;re maintaining it, right?</description>
		<content:encoded><![CDATA[<p>Well it is useful for extension loading in PHP (and in fact, it&#8217;s the only thing I use that type of if statement in, for example:</p>
<p><code><br />
$prefix = (PHP_SHLIB_SUFFIX == "dll") ? "php_" : '';<br />
</code></p>
<p>it&#8217;s a lot neater than a full-blown if statement, and I understand what it&#8217;s for (I have no clue why the extensions have to have &#8216;php_&#8217; prefixed before them on Windows, but not on any other OS), since it&#8217;s the only situation I use it for&#8230; </p>
<p>And you do get used to associating that with an if statement if you see it often enough, and if you wrote it, you should reasonably be expected to know what it means and does when you&#8217;re maintaining it, right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grouch</title>
		<link>http://www.3till7.net/2006/06/07/if-succinctly/comment-page-1/#comment-3006</link>
		<dc:creator>grouch</dc:creator>
		<pubDate>Thu, 08 Jun 2006 02:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/2006/06/07/if-succinctly/#comment-3006</guid>
		<description>In PHP:

age = (name == &quot;Susie&quot;) ? 12 : 14;

That is not easily parsed by a human reader. Code must be maintained, so it is important to make it easy on the maintainer rather than the machine parser.</description>
		<content:encoded><![CDATA[<p>In PHP:</p>
<p>age = (name == &#8220;Susie&#8221;) ? 12 : 14;</p>
<p>That is not easily parsed by a human reader. Code must be maintained, so it is important to make it easy on the maintainer rather than the machine parser.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

