<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>fluffigt.com &#187; code</title>
	<atom:link href="http://fluffigt.com/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://fluffigt.com</link>
	<description>*poof* said fluff...</description>
	<lastBuildDate>Sat, 03 Dec 2011 13:30:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Private methods in PHP programming &#8211; response</title>
		<link>http://fluffigt.com/2008/08/23/private-methods-in-php-programming-response/</link>
		<comments>http://fluffigt.com/2008/08/23/private-methods-in-php-programming-response/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 08:44:44 +0000</pubDate>
		<dc:creator>mld</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[refactoring]]></category>

		<guid isPermaLink="false">http://fluffigt.com/?p=1711</guid>
		<description><![CDATA[Felix over at Debuggable wrote an interesting article about private methods. He thinks it's not a very good thing to use, but, kudos to him, doesn't rule out the possibility. He argues that he doesn't have any formal education in programming and development, but I don't think that matters much at all since he seems [...]]]></description>
			<content:encoded><![CDATA[<p>Felix over at Debuggable wrote an <a href="http://www.debuggable.com/posts/private-methods-follow-up:4873b289-8f70-4500-a798-76ea4834cda3" target="_blank">interesting article about private methods</a>. He thinks it's not a very good thing to use, but, kudos to him, doesn't rule out the possibility. He argues that he doesn't have any formal education in programming and development, but I don't think that matters much at all since he seems to have quite a bit of programming experience.</p>
<p>But what I think is that, of course, you alwas <em>can </em>write private-method-free code, but sometimes it's not very good. When you need to duplicate code time after another, you might begin to see the need for another method (refactoring) or for that matter class. What that method does or returns maybe, just maybe, isn't that good for the rest of the world (read application) to access directly rather than through your other, more high level methods.</p>
<p>CakePHP itself is has lots of private methods. Could we do without them all? Of course we could. Would it make the code easier to read? Maybe. Would it make the code easier to maintain? I think not.</p>
<p>With that said, you always need to make an active decission whether you choose to make a method public, private or protected. Chances are, if you only write public because you are used to it, you might be making a mistake that could compromise stability or security of your application if another developer makes use of that method...</p>]]></content:encoded>
			<wfw:commentRss>http://fluffigt.com/2008/08/23/private-methods-in-php-programming-response/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Advanced Linux Programming</title>
		<link>http://fluffigt.com/2008/02/27/advanced-linux-programming/</link>
		<comments>http://fluffigt.com/2008/02/27/advanced-linux-programming/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 19:20:10 +0000</pubDate>
		<dc:creator>delicious</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[reference]]></category>

		<guid isPermaLink="false">http://fluffigt.com/2008/02/27/advanced-linux-programming/</guid>
		<description><![CDATA[http://www.advanc...]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://www.advancedlinuxprogramming.com/">http://www.advanc...</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://fluffigt.com/2008/02/27/advanced-linux-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code Snippets</title>
		<link>http://fluffigt.com/2007/12/27/code-snippets/</link>
		<comments>http://fluffigt.com/2007/12/27/code-snippets/#comments</comments>
		<pubDate>Thu, 27 Dec 2007 14:39:59 +0000</pubDate>
		<dc:creator>delicious</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://fluffigt.com/2007/12/27/code-snippets/</guid>
		<description><![CDATA[symfony project http://www.symfon...]]></description>
			<content:encoded><![CDATA[<p>symfony project
<ul>
<li><a href="http://www.symfony-project.org/snippets/snippet/135">http://www.symfon...</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://fluffigt.com/2007/12/27/code-snippets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

