<?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: PHP Shorthand and Alternate Syntax: A quickie!</title>
	<atom:link href="http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/feed" rel="self" type="application/rss+xml" />
	<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html</link>
	<description></description>
	<lastBuildDate>Tue, 20 Jul 2010 19:36:55 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Designerfoo</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-780</link>
		<dc:creator>Designerfoo</dc:creator>
		<pubDate>Tue, 20 Jul 2010 07:28:47 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-780</guid>
		<description>Agreed! :)</description>
		<content:encoded><![CDATA[<p>Agreed! <img src='http://designerfoo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-778</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Tue, 20 Jul 2010 06:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-778</guid>
		<description>using the if (...) :
endif;

syntax is great if you have blocks of html code in between your php. I find it&#039;s easier to scan for endif; or endwhile; when there is mixed html and php rather than searching through code looking for that missing curly brace ;)</description>
		<content:encoded><![CDATA[<p>using the if (&#8230;) :<br />
endif;</p>
<p>syntax is great if you have blocks of html code in between your php. I find it&#8217;s easier to scan for endif; or endwhile; when there is mixed html and php rather than searching through code looking for that missing curly brace <img src='http://designerfoo.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Designerfoo</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-763</link>
		<dc:creator>Designerfoo</dc:creator>
		<pubDate>Tue, 13 Jul 2010 05:31:31 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-763</guid>
		<description>Jason,

To each his own? :) I love the : syntax, It&#039;s more clear to me than using { }, I love {} too. It might be hard to debug I will give you that, but how is it that its hard to read and ugly? Ternary operators would save you a lot bytes if you have a lot of &quot;if&quot;s in the code. :) JMPO.</description>
		<content:encoded><![CDATA[<p>Jason,</p>
<p>To each his own? <img src='http://designerfoo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I love the : syntax, It&#8217;s more clear to me than using { }, I love {} too. It might be hard to debug I will give you that, but how is it that its hard to read and ugly? Ternary operators would save you a lot bytes if you have a lot of &#8220;if&#8221;s in the code. <img src='http://designerfoo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  JMPO.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-758</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 12 Jul 2010 14:19:17 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-758</guid>
		<description>You shouldn&#039;t be advising people to use it, it&#039;s pretty much the opposite of all the things you said it is.

It&#039;s ugly.
It&#039;s hard to read.
It&#039;s hard to debug.

The ternary operator is okay, but normally in if statement is better due to readability.

That&#039;s just my opinion, probably the same as many others I&#039;d say.</description>
		<content:encoded><![CDATA[<p>You shouldn&#8217;t be advising people to use it, it&#8217;s pretty much the opposite of all the things you said it is.</p>
<p>It&#8217;s ugly.<br />
It&#8217;s hard to read.<br />
It&#8217;s hard to debug.</p>
<p>The ternary operator is okay, but normally in if statement is better due to readability.</p>
<p>That&#8217;s just my opinion, probably the same as many others I&#8217;d say.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2010-05-24 &#171; Peter&#8217;s Side Thoughts</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-653</link>
		<dc:creator>links for 2010-05-24 &#171; Peter&#8217;s Side Thoughts</dc:creator>
		<pubDate>Mon, 24 May 2010 09:19:07 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-653</guid>
		<description>[...] PHP Shorthand and Alternate Syntax: A quickie! (tags: php) [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP Shorthand and Alternate Syntax: A quickie! (tags: php) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Designerfoo</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-279</link>
		<dc:creator>Designerfoo</dc:creator>
		<pubDate>Sat, 23 Jan 2010 09:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-279</guid>
		<description>Yeah, thanks for the heads up the short tags.. Here is more on the topic of &lt;a href=&quot;http://cubicspot.blogspot.com/2009/06/maximum-failure-php-6-deprecates-short.html&quot; rel=&quot;nofollow&quot;&gt;deprecating shot tags&lt;/a&gt;  and its really sad that I would have to sit and change all my code replacing short tags to get it up to speed with PHP 6. They could have done better and worse. 

And yea, I don&#039;t hate {}, I guess its my eyes :D 
on a serious note when you are developing on PHP all day long counting braces even with editors highlighting it, it does take time. I find using alternative sytax much better, to each his own! :) thanks for your comment!</description>
		<content:encoded><![CDATA[<p>Yeah, thanks for the heads up the short tags.. Here is more on the topic of <a href="http://cubicspot.blogspot.com/2009/06/maximum-failure-php-6-deprecates-short.html" rel="nofollow">deprecating shot tags</a>  and its really sad that I would have to sit and change all my code replacing short tags to get it up to speed with PHP 6. They could have done better and worse. </p>
<p>And yea, I don&#8217;t hate {}, I guess its my eyes <img src='http://designerfoo.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
on a serious note when you are developing on PHP all day long counting braces even with editors highlighting it, it does take time. I find using alternative sytax much better, to each his own! <img src='http://designerfoo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  thanks for your comment!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SeanJA</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-249</link>
		<dc:creator>SeanJA</dc:creator>
		<pubDate>Fri, 22 Jan 2010 22:00:16 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-249</guid>
		<description>Unfortunately I think they are deprecating short tags, so that one is out.

As for the alternative syntax, I personally don&#039;t like it because it forces you to look for the end tag instead of having your editor find it and highlight it {} (most editors that I have tried anyway). The syntax also reminds me of smarty.... which I hate. To each his own I guess.</description>
		<content:encoded><![CDATA[<p>Unfortunately I think they are deprecating short tags, so that one is out.</p>
<p>As for the alternative syntax, I personally don&#8217;t like it because it forces you to look for the end tag instead of having your editor find it and highlight it {} (most editors that I have tried anyway). The syntax also reminds me of smarty&#8230;. which I hate. To each his own I guess.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP Alternative Syntax &#38; PHP Shorthand Short Guide &#124; Designerfoo.com Ubuntu Netbook</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-191</link>
		<dc:creator>PHP Alternative Syntax &#38; PHP Shorthand Short Guide &#124; Designerfoo.com Ubuntu Netbook</dc:creator>
		<pubDate>Sun, 17 Jan 2010 03:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-191</guid>
		<description>[...] original post here: PHP Alternative Syntax &amp; PHP Shorthand Short Guide &#124; Designerfoo.com          By admin &#124; category: Uncategorized &#124; tags: friday, hours-for, looks-like, never-came, [...]</description>
		<content:encoded><![CDATA[<p>[...] original post here: PHP Alternative Syntax &amp; PHP Shorthand Short Guide | Designerfoo.com          By admin | category: Uncategorized | tags: friday, hours-for, looks-like, never-came, [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
