<?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: Refactoring: An introduction for PHP programmers</title>
	<atom:link href="http://www.codediesel.com/refactoring/introduction-to-refactoring-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codediesel.com/software/introduction-to-refactoring-in-php/</link>
	<description>/* PHP &#38; MySQL Journal */</description>
	<lastBuildDate>Fri, 27 Jan 2012 16:39:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Twitter Trackbacks for Refactoring: An introduction for PHP programmers : CodeDiesel [codediesel.com] on Topsy.com</title>
		<link>http://www.codediesel.com/software/introduction-to-refactoring-in-php/comment-page-1/#comment-1380</link>
		<dc:creator>Twitter Trackbacks for Refactoring: An introduction for PHP programmers : CodeDiesel [codediesel.com] on Topsy.com</dc:creator>
		<pubDate>Mon, 31 Aug 2009 04:11:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=144#comment-1380</guid>
		<description>[...] Refactoring: An introduction for PHP programmers : CodeDiesel  www.codediesel.com/refactoring/introduction-to-refactoring-in-php &#8211; view page &#8211; cached  Refactoring: An introduction for PHP programmers &#8212; From the page [...]</description>
		<content:encoded><![CDATA[<p>[...] Refactoring: An introduction for PHP programmers : CodeDiesel  <a href="http://www.codediesel.com/refactoring/introduction-to-refactoring-in-php" rel="nofollow">http://www.codediesel.com/refactoring/introduction-to-refactoring-in-php</a> &ndash; view page &ndash; cached  Refactoring: An introduction for PHP programmers &mdash; From the page [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Refactoring &#124; CodeUtopia</title>
		<link>http://www.codediesel.com/software/introduction-to-refactoring-in-php/comment-page-1/#comment-1239</link>
		<dc:creator>Refactoring &#124; CodeUtopia</dc:creator>
		<pubDate>Mon, 08 Jun 2009 06:15:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=144#comment-1239</guid>
		<description>[...] Refactoring: An introduction to PHP programmers [...]</description>
		<content:encoded><![CDATA[<p>[...] Refactoring: An introduction to PHP programmers [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guild Invite</title>
		<link>http://www.codediesel.com/software/introduction-to-refactoring-in-php/comment-page-1/#comment-1190</link>
		<dc:creator>Guild Invite</dc:creator>
		<pubDate>Wed, 22 Apr 2009 19:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=144#comment-1190</guid>
		<description>Remember the rule for functions: Every function should only do _ONE_ thing.  If you don&#039;t do this already, try it, it&#039;ll definitely change the way you code.</description>
		<content:encoded><![CDATA[<p>Remember the rule for functions: Every function should only do _ONE_ thing.  If you don&#8217;t do this already, try it, it&#8217;ll definitely change the way you code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: An Introduction to Refactoring (in PHP)&#160;&#124;&#160;ReachCustomersOnline.com</title>
		<link>http://www.codediesel.com/software/introduction-to-refactoring-in-php/comment-page-1/#comment-1091</link>
		<dc:creator>An Introduction to Refactoring (in PHP)&#160;&#124;&#160;ReachCustomersOnline.com</dc:creator>
		<pubDate>Thu, 19 Feb 2009 15:36:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=144#comment-1091</guid>
		<description>[...] CodeDiesel. This is a pretty good discussion and series about code refactoring. The quote above in particular [...]</description>
		<content:encoded><![CDATA[<p>[...] CodeDiesel. This is a pretty good discussion and series about code refactoring. The quote above in particular [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daily Links &#124; AndySowards.com :: Professional Web Design, Development, Programming, Hacks, Downloads, Math and being a Web 2.0 Hipster?</title>
		<link>http://www.codediesel.com/software/introduction-to-refactoring-in-php/comment-page-1/#comment-1056</link>
		<dc:creator>Daily Links &#124; AndySowards.com :: Professional Web Design, Development, Programming, Hacks, Downloads, Math and being a Web 2.0 Hipster?</dc:creator>
		<pubDate>Wed, 07 Jan 2009 01:15:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=144#comment-1056</guid>
		<description>[...] Refactoring: An introduction for PHP programmers : CodeDiesel Introduction to PHP for Programmers! (tags: blog programming unread designpattern php refactoring) [...]</description>
		<content:encoded><![CDATA[<p>[...] Refactoring: An introduction for PHP programmers : CodeDiesel Introduction to PHP for Programmers! (tags: blog programming unread designpattern php refactoring) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandeep khokher</title>
		<link>http://www.codediesel.com/software/introduction-to-refactoring-in-php/comment-page-1/#comment-1047</link>
		<dc:creator>sandeep khokher</dc:creator>
		<pubDate>Fri, 02 Jan 2009 06:43:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=144#comment-1047</guid>
		<description>well refractoring is something  like a  combination of well understood ,self explaintory   and well structured code</description>
		<content:encoded><![CDATA[<p>well refractoring is something  like a  combination of well understood ,self explaintory   and well structured code</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hafizan</title>
		<link>http://www.codediesel.com/software/introduction-to-refactoring-in-php/comment-page-1/#comment-1046</link>
		<dc:creator>hafizan</dc:creator>
		<pubDate>Wed, 31 Dec 2008 08:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=144#comment-1046</guid>
		<description>if(notSummer($receiptDate)) { 
    $charge = charge_now(&#039;winterCharge&#039;,$quantity);
} else {
    $charge = charge_now(&#039;summerCharge&#039;,$quantity);
}
// refactoring cleaning your code up.OOP more better</description>
		<content:encoded><![CDATA[<p>if(notSummer($receiptDate)) {<br />
    $charge = charge_now(&#8216;winterCharge&#8217;,$quantity);<br />
} else {<br />
    $charge = charge_now(&#8216;summerCharge&#8217;,$quantity);<br />
}<br />
// refactoring cleaning your code up.OOP more better</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loïc Hoguin</title>
		<link>http://www.codediesel.com/software/introduction-to-refactoring-in-php/comment-page-1/#comment-1045</link>
		<dc:creator>Loïc Hoguin</dc:creator>
		<pubDate>Tue, 30 Dec 2008 21:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=144#comment-1045</guid>
		<description>@Ncloud: yes it could be trimmed down further. But refactoring doesn&#039;t mean trimming down. Using the ternary operator instead of if/else is only a difference in style, while refactoring change the structure of the code.</description>
		<content:encoded><![CDATA[<p>@Ncloud: yes it could be trimmed down further. But refactoring doesn&#8217;t mean trimming down. Using the ternary operator instead of if/else is only a difference in style, while refactoring change the structure of the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ncloud</title>
		<link>http://www.codediesel.com/software/introduction-to-refactoring-in-php/comment-page-1/#comment-1044</link>
		<dc:creator>ncloud</dc:creator>
		<pubDate>Tue, 30 Dec 2008 21:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=144#comment-1044</guid>
		<description>The example could further be trimmed down with the ternary operator:

$charge = notSummer($receiptDate) ? winterCharge($quantity) : summerCharge($quantity);</description>
		<content:encoded><![CDATA[<p>The example could further be trimmed down with the ternary operator:</p>
<p>$charge = notSummer($receiptDate) ? winterCharge($quantity) : summerCharge($quantity);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A.J. Brown</title>
		<link>http://www.codediesel.com/software/introduction-to-refactoring-in-php/comment-page-1/#comment-1043</link>
		<dc:creator>A.J. Brown</dc:creator>
		<pubDate>Tue, 30 Dec 2008 21:17:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=144#comment-1043</guid>
		<description>Another goal of refactoring is improving code re usability.  When a particular piece of logic has to be repeated, it should probably be refactored into a method.  

One rule of thumb we keep at work is that if you have to copy-paste / yank a block of code, you&#039;d better have a good reason for doing so instead of refactoring.</description>
		<content:encoded><![CDATA[<p>Another goal of refactoring is improving code re usability.  When a particular piece of logic has to be repeated, it should probably be refactored into a method.  </p>
<p>One rule of thumb we keep at work is that if you have to copy-paste / yank a block of code, you&#8217;d better have a good reason for doing so instead of refactoring.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

