<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Singleton Considered Stupid</title>
	<link>http://ikhwanhayat.net/2006/01/singleton-considered-stupid/</link>
	<description>because fun is overrated</description>
	<pubDate>Thu, 28 Aug 2008 18:47:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: helmi</title>
		<link>http://ikhwanhayat.net/2006/01/singleton-considered-stupid/#comment-865</link>
		<dc:creator>helmi</dc:creator>
		<pubDate>Tue, 17 Jan 2006 12:49:00 +0000</pubDate>
		<guid>http://ikhwanhayat.net/2006/01/singleton-considered-stupid/#comment-865</guid>
		<description>From book Refactoring to Patterns:

&lt;I&gt;If you use the Singleton pattern out of habit, because it "makes your code more efficient", you're premature optimizing&lt;/I&gt;

premature optimized code = harder to refactor</description>
		<content:encoded><![CDATA[<p>From book Refactoring to Patterns:</p>
<p><i>If you use the Singleton pattern out of habit, because it &#8220;makes your code more efficient&#8221;, you&#8217;re premature optimizing</i></p>
<p>premature optimized code = harder to refactor</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ikhwan</title>
		<link>http://ikhwanhayat.net/2006/01/singleton-considered-stupid/#comment-864</link>
		<dc:creator>Ikhwan</dc:creator>
		<pubDate>Tue, 17 Jan 2006 11:09:00 +0000</pubDate>
		<guid>http://ikhwanhayat.net/2006/01/singleton-considered-stupid/#comment-864</guid>
		<description>Ahah, the concept.. Not the implementation.. Now I understand. 
Actually the patterns are all about concept aren't they? Implementations may vary right?

Thanks a lot bro hamdi.. :)</description>
		<content:encoded><![CDATA[<p>Ahah, the concept.. Not the implementation.. Now I understand.<br />
Actually the patterns are all about concept aren&#8217;t they? Implementations may vary right?</p>
<p>Thanks a lot bro hamdi.. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hamdi</title>
		<link>http://ikhwanhayat.net/2006/01/singleton-considered-stupid/#comment-863</link>
		<dc:creator>Hamdi</dc:creator>
		<pubDate>Tue, 17 Jan 2006 04:37:00 +0000</pubDate>
		<guid>http://ikhwanhayat.net/2006/01/singleton-considered-stupid/#comment-863</guid>
		<description>Use Singleton the concept, instead of Singleton the implementation (as in the GoF) book. For me, in Java, I implement my Singletons using static methods too (or using IoC). They are still Singletons, just different implementations.

As for having multiple implementation, you can actually have that with a Singleton. I can implement a Java Singleton that behave differently. Sort of a combination of Singleton plus Strategy with a good dose of delegation.

Just MHO. :)</description>
		<content:encoded><![CDATA[<p>Use Singleton the concept, instead of Singleton the implementation (as in the GoF) book. For me, in Java, I implement my Singletons using static methods too (or using IoC). They are still Singletons, just different implementations.</p>
<p>As for having multiple implementation, you can actually have that with a Singleton. I can implement a Java Singleton that behave differently. Sort of a combination of Singleton plus Strategy with a good dose of delegation.</p>
<p>Just MHO. :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
