<?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"
	>
<channel>
	<title>Comments on: PHP Programming Structure</title>
	<atom:link href="http://johnmparks.com/web-development/php-programming-structure/feed" rel="self" type="application/rss+xml" />
	<link>http://johnmparks.com/web-development/php-programming-structure</link>
	<description>John M Parks Photography, Web Design, Poetry, Writing, Art, and Programming</description>
	<pubDate>Tue, 06 Jan 2009 04:04:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5-RC1</generator>
		<item>
		<title>By: Russ</title>
		<link>http://johnmparks.com/web-development/php-programming-structure#comment-9</link>
		<dc:creator>Russ</dc:creator>
		<pubDate>Sun, 09 Mar 2008 20:15:18 +0000</pubDate>
		<guid isPermaLink="false">http://johnmparks.com/web-development/php-programming-structure#comment-9</guid>
		<description>More like "Programming Structure."
IANAPD but the only thing I can come up with that would make PHP development fundamentally different than, say, C++, C, Java, Python, C# or any other language that I do code in is the issue of server performance. If you're really, _really_ hurting for server resources, I could see that it would be possible that you not want to require the server to fetch and parse 10 different .inc.php files per request. But it also seems likely to me that developer time and energy is more valuable than a little extra (possibly negligible) web server strain. 
But if you really look at it, the same thing goes for traditional software development - even though technically the CPU has to set up a stack frame for every function/method call does not mean it's a bad idea to separate discreet chunks of code into functions/methods for the purposes of readability and maintainability. Nobody wants to read a 3,000 line main() function. Ever.

tl;dr : You're right, and this applies beyond PHP.</description>
		<content:encoded><![CDATA[<p>More like &#8220;Programming Structure.&#8221;<br />
IANAPD but the only thing I can come up with that would make PHP development fundamentally different than, say, C++, C, Java, Python, C# or any other language that I do code in is the issue of server performance. If you&#8217;re really, _really_ hurting for server resources, I could see that it would be possible that you not want to require the server to fetch and parse 10 different .inc.php files per request. But it also seems likely to me that developer time and energy is more valuable than a little extra (possibly negligible) web server strain.<br />
But if you really look at it, the same thing goes for traditional software development - even though technically the CPU has to set up a stack frame for every function/method call does not mean it&#8217;s a bad idea to separate discreet chunks of code into functions/methods for the purposes of readability and maintainability. Nobody wants to read a 3,000 line main() function. Ever.</p>
<p>tl;dr : You&#8217;re right, and this applies beyond PHP.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
