<?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: Alternate Syntax for PHP Control Structures</title>
	<atom:link href="http://top-frog.com/2005/11/17/alternate_syntax_for_php_control_structures/feed/" rel="self" type="application/rss+xml" />
	<link>http://top-frog.com/2005/11/17/alternate_syntax_for_php_control_structures/</link>
	<description>Polluting the internet since 2004</description>
	<lastBuildDate>Tue, 07 Feb 2012 10:22:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: James Badger</title>
		<link>http://top-frog.com/2005/11/17/alternate_syntax_for_php_control_structures/comment-page-1/#comment-756</link>
		<dc:creator>James Badger</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://top-frog.com/?p=143#comment-756</guid>
		<description>It seems Ruby has a similar option:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Net::HTTP.start(url.host, url.port) { &#124;http&#124;&lt;/p&gt;
&lt;p&gt;    results = http.post(url.path, data)&lt;/p&gt;
&lt;p&gt;    puts results.body&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;can be&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Net::HTTP.start(url.host, url.port) do &#124;http&#124;&lt;/p&gt;
&lt;p&gt;     results = http.post(url.path, data)&lt;/p&gt;
&lt;p&gt;     puts results.body&lt;/p&gt;
&lt;p&gt;end&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;looking at a bundle of &#039;ends&#039; might be easier to follow than curly braces.</description>
		<content:encoded><![CDATA[<p>It seems Ruby has a similar option:</p>
<p>Net::HTTP.start(url.host, url.port) { |http|</p>
<p>    results = http.post(url.path, data)</p>
<p>    puts results.body</p>
<p>}</p>
</p>
<p>can be</p>
</p>
<p>Net::HTTP.start(url.host, url.port) do |http|</p>
<p>     results = http.post(url.path, data)</p>
<p>     puts results.body</p>
<p>end</p>
</p>
<p>looking at a bundle of &#8216;ends&#8217; might be easier to follow than curly braces.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Badger</title>
		<link>http://top-frog.com/2005/11/17/alternate_syntax_for_php_control_structures/comment-page-1/#comment-757</link>
		<dc:creator>James Badger</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://top-frog.com/?p=143#comment-757</guid>
		<description>Heh, beats using replace to count the number of braces to see if they match. Although having really good indenting in your editor of choice helps too.</description>
		<content:encoded><![CDATA[<p>Heh, beats using replace to count the number of braces to see if they match. Although having really good indenting in your editor of choice helps too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy S. LIttle</title>
		<link>http://top-frog.com/2005/11/17/alternate_syntax_for_php_control_structures/comment-page-1/#comment-758</link>
		<dc:creator>Randy S. LIttle</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://top-frog.com/?p=143#comment-758</guid>
		<description>Really dude WHATS UP.</description>
		<content:encoded><![CDATA[<p>Really dude WHATS UP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://top-frog.com/2005/11/17/alternate_syntax_for_php_control_structures/comment-page-1/#comment-759</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://top-frog.com/?p=143#comment-759</guid>
		<description>I like curly braces better, I find them easier, but it&#039;s cool to know that this other way exists. Nice find!</description>
		<content:encoded><![CDATA[<p>I like curly braces better, I find them easier, but it&#8217;s cool to know that this other way exists. Nice find!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey B.</title>
		<link>http://top-frog.com/2005/11/17/alternate_syntax_for_php_control_structures/comment-page-1/#comment-760</link>
		<dc:creator>Joey B.</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://top-frog.com/?p=143#comment-760</guid>
		<description>This syntax is used quite a bit in Wordpress&#039; default templates (and I believe elsewhere), and has been for a while. Get with it. :P</description>
		<content:encoded><![CDATA[<p>This syntax is used quite a bit in WordPress&#8217; default templates (and I believe elsewhere), and has been for a while. Get with it. <img src='http://top-frog.com/wp/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Served from: top-frog.com @ 2012-02-11 06:44:37 by W3 Total Cache -->
