<?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: Coding Sample</title>
	<atom:link href="http://edgeprod.com/blog/46/coding-sample/feed/" rel="self" type="application/rss+xml" />
	<link>http://edgeprod.com/blog/46/coding-sample/</link>
	<description>Polysyllabic Pretension Pertaining Primarily to Programming</description>
	<lastBuildDate>Thu, 14 Apr 2011 02:44:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Dom</title>
		<link>http://edgeprod.com/blog/46/coding-sample/comment-page-1/#comment-65</link>
		<dc:creator>Dom</dc:creator>
		<pubDate>Thu, 14 Apr 2011 02:44:38 +0000</pubDate>
		<guid isPermaLink="false">http://edgeprod.com/blog/?p=46#comment-65</guid>
		<description>@HarryMuff: I tend to code with an eye toward the actual language itself. If you&#039;re coding in PHP, don&#039;t try to shoehorn in &quot;real&quot; programming languages, as you term them. When you only have a hammer, every problem looks like a nail.

Fortunately, my tool box isn&#039;t as bare.</description>
		<content:encoded><![CDATA[<p>@HarryMuff: I tend to code with an eye toward the actual language itself. If you&#8217;re coding in PHP, don&#8217;t try to shoehorn in &#8220;real&#8221; programming languages, as you term them. When you only have a hammer, every problem looks like a nail.</p>
<p>Fortunately, my tool box isn&#8217;t as bare.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dom</title>
		<link>http://edgeprod.com/blog/46/coding-sample/comment-page-1/#comment-64</link>
		<dc:creator>Dom</dc:creator>
		<pubDate>Thu, 14 Apr 2011 02:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://edgeprod.com/blog/?p=46#comment-64</guid>
		<description>Semantics, on the integer/strings because it&#039;s in the comments for readability by another (future) coder. PHP doesn&#039;t have strong typing -- if this were C++ or a C derivative, I would have certainly made sure the variable typing was specific to the language. I&#039;m not a fan of needless (and in PHP, unnecessary) complexity. I guess that&#039;s part of what separates me from the pack.

I don&#039;t see where you&#039;re saying $returnText isn&#039;t defined. If you&#039;re new at reading code, look toward the top of the class, where it&#039;s defined as a public variable for the methods to use.</description>
		<content:encoded><![CDATA[<p>Semantics, on the integer/strings because it&#8217;s in the comments for readability by another (future) coder. PHP doesn&#8217;t have strong typing &#8212; if this were C++ or a C derivative, I would have certainly made sure the variable typing was specific to the language. I&#8217;m not a fan of needless (and in PHP, unnecessary) complexity. I guess that&#8217;s part of what separates me from the pack.</p>
<p>I don&#8217;t see where you&#8217;re saying $returnText isn&#8217;t defined. If you&#8217;re new at reading code, look toward the top of the class, where it&#8217;s defined as a public variable for the methods to use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://edgeprod.com/blog/46/coding-sample/comment-page-1/#comment-62</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Thu, 10 Mar 2011 23:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://edgeprod.com/blog/?p=46#comment-62</guid>
		<description>You never actually define $returnText before appending data to it.

You are also relying on Type Juggling in PHP for comparison in your switch. You specify in your comments that it&#039;s expecting an integer, but your switching is testing for strings.</description>
		<content:encoded><![CDATA[<p>You never actually define $returnText before appending data to it.</p>
<p>You are also relying on Type Juggling in PHP for comparison in your switch. You specify in your comments that it&#8217;s expecting an integer, but your switching is testing for strings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HarryMuff</title>
		<link>http://edgeprod.com/blog/46/coding-sample/comment-page-1/#comment-60</link>
		<dc:creator>HarryMuff</dc:creator>
		<pubDate>Sat, 22 Jan 2011 09:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://edgeprod.com/blog/?p=46#comment-60</guid>
		<description>Public variable? Where&#039;s the encapsulation? You are using a class and making objects of that class right? If so you forgot one of the most important parts of object oriented programming. Unless you are using this class statically - in which case it&#039;s still coded wrong.
No offense but it looks like you learned to program using PHP instead of a real programming language.</description>
		<content:encoded><![CDATA[<p>Public variable? Where&#8217;s the encapsulation? You are using a class and making objects of that class right? If so you forgot one of the most important parts of object oriented programming. Unless you are using this class statically &#8211; in which case it&#8217;s still coded wrong.<br />
No offense but it looks like you learned to program using PHP instead of a real programming language.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

