<?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: Reasons Why You Should Use a Function</title>
	<atom:link href="http://www.devirtuoso.com/2009/06/reasons-why-you-should-use-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.devirtuoso.com/2009/06/reasons-why-you-should-use-function/</link>
	<description>Web Development Wickedness</description>
	<lastBuildDate>Thu, 12 Aug 2010 19:07:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: James Hare</title>
		<link>http://www.devirtuoso.com/2009/06/reasons-why-you-should-use-function/comment-page-1/#comment-395</link>
		<dc:creator>James Hare</dc:creator>
		<pubDate>Wed, 26 Aug 2009 09:42:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.devirtuoso.com/?p=520#comment-395</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-348&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-348&quot; rel=&quot;nofollow&quot;&gt;SeanJA&lt;/a&gt; :&lt;/strong&gt;
If you are using enough functions and classes to slow down your code noticeably then you are doing something wrong...
&lt;/blockquote&gt;
I completely agree with your point Sean. I would imagine that this blog is generally written with the type of user in mind that creates and administers small/medium size web applications. In these cases, the myraid benefits of clean, portable code far outstrip any concerns that &#039;the result came back in 12ms rather than 8ms&#039;. The users won&#039;t notice the difference; but the designer certainly will when he/she comes to code their next project...

Obviously enterprise-scale applications have a whole different set of rules; but thankfully I get to dodge that bullet!</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-348"><p>
<strong><a href="#comment-348" rel="nofollow">SeanJA</a> :</strong><br />
If you are using enough functions and classes to slow down your code noticeably then you are doing something wrong&#8230;
</p></blockquote>
<p>I completely agree with your point Sean. I would imagine that this blog is generally written with the type of user in mind that creates and administers small/medium size web applications. In these cases, the myraid benefits of clean, portable code far outstrip any concerns that &#8216;the result came back in 12ms rather than 8ms&#8217;. The users won&#8217;t notice the difference; but the designer certainly will when he/she comes to code their next project&#8230;</p>
<p>Obviously enterprise-scale applications have a whole different set of rules; but thankfully I get to dodge that bullet!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SeanJA</title>
		<link>http://www.devirtuoso.com/2009/06/reasons-why-you-should-use-function/comment-page-1/#comment-348</link>
		<dc:creator>SeanJA</dc:creator>
		<pubDate>Tue, 18 Aug 2009 01:05:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.devirtuoso.com/?p=520#comment-348</guid>
		<description>If you are using enough functions and classes to slow down your code noticeably then you are doing something wrong. That said, I would never do the add() function... it lends itself to writing things like:

add(add(add(add(add(1,2),3),4),5),6) 

which is far less readable than 

1 + 2 + 3 + 4 + 5 + 6</description>
		<content:encoded><![CDATA[<p>If you are using enough functions and classes to slow down your code noticeably then you are doing something wrong. That said, I would never do the add() function&#8230; it lends itself to writing things like:</p>
<p>add(add(add(add(add(1,2),3),4),5),6) </p>
<p>which is far less readable than </p>
<p>1 + 2 + 3 + 4 + 5 + 6</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.devirtuoso.com/2009/06/reasons-why-you-should-use-function/comment-page-1/#comment-74</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 12 Jun 2009 11:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.devirtuoso.com/?p=520#comment-74</guid>
		<description>Good point, I meant for ease of improving performance functions help. It&#039;s more practical to recode a routine with a more efficient algorithm and have it update where ever the function is being used, than having to search out every piece of code and update it. A single optimization benefits the whole code.  But you are right, use function sparingly, just be smart about it if it is going to save you time.</description>
		<content:encoded><![CDATA[<p>Good point, I meant for ease of improving performance functions help. It&#8217;s more practical to recode a routine with a more efficient algorithm and have it update where ever the function is being used, than having to search out every piece of code and update it. A single optimization benefits the whole code.  But you are right, use function sparingly, just be smart about it if it is going to save you time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EllisGL</title>
		<link>http://www.devirtuoso.com/2009/06/reasons-why-you-should-use-function/comment-page-1/#comment-72</link>
		<dc:creator>EllisGL</dc:creator>
		<pubDate>Fri, 12 Jun 2009 03:34:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.devirtuoso.com/?p=520#comment-72</guid>
		<description>Actually, functions and classes slow down execution of code, class more so. If you want the performance, only use functions for recursion. Of course for the best performance, create extensions for everything you are doing!</description>
		<content:encoded><![CDATA[<p>Actually, functions and classes slow down execution of code, class more so. If you want the performance, only use functions for recursion. Of course for the best performance, create extensions for everything you are doing!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
