<?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: Avoid Manual Initialization</title>
	<atom:link href="http://chadaustin.me/2010/01/avoid-manual-initialization/feed/" rel="self" type="application/rss+xml" />
	<link>http://chadaustin.me/2010/01/avoid-manual-initialization/</link>
	<description></description>
	<lastBuildDate>Mon, 06 Sep 2010 10:09:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tyler Streeter</title>
		<link>http://chadaustin.me/2010/01/avoid-manual-initialization/comment-page-1/#comment-17270</link>
		<dc:creator>Tyler Streeter</dc:creator>
		<pubDate>Tue, 05 Jan 2010 18:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://chadaustin.me/?p=1487#comment-17270</guid>
		<description>Thanks Chad!</description>
		<content:encoded><![CDATA[<p>Thanks Chad!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad Austin</title>
		<link>http://chadaustin.me/2010/01/avoid-manual-initialization/comment-page-1/#comment-17201</link>
		<dc:creator>Chad Austin</dc:creator>
		<pubDate>Tue, 05 Jan 2010 03:21:16 +0000</pubDate>
		<guid isPermaLink="false">http://chadaustin.me/?p=1487#comment-17201</guid>
		<description>I&#039;d suggest intelligent defaults, but give the option to configure the library.  In the IMVU code, we sometimes create a &quot;Runtime&quot; object that you must instantiate and pass to your other objects.  The Runtime would contain the state you mentioned.  Runtime can enforce that only one exists, if necessary.  If not, just let your users create multiple Runtimes.  This makes automated testing much easier.</description>
		<content:encoded><![CDATA[<p>I&#8217;d suggest intelligent defaults, but give the option to configure the library.  In the IMVU code, we sometimes create a &#8220;Runtime&#8221; object that you must instantiate and pass to your other objects.  The Runtime would contain the state you mentioned.  Runtime can enforce that only one exists, if necessary.  If not, just let your users create multiple Runtimes.  This makes automated testing much easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tyler Streeter</title>
		<link>http://chadaustin.me/2010/01/avoid-manual-initialization/comment-page-1/#comment-17007</link>
		<dc:creator>Tyler Streeter</dc:creator>
		<pubDate>Sun, 03 Jan 2010 03:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://chadaustin.me/?p=1487#comment-17007</guid>
		<description>Hey Chad, what if my library has a bunch of parameters to be set only once before creating any objects? For example, things like logging settings, number of threads to create, etc. In that case does it make sense to require an init function that takes these params? Or should I make it optional and just use default values if the user doesn&#039;t call init?</description>
		<content:encoded><![CDATA[<p>Hey Chad, what if my library has a bunch of parameters to be set only once before creating any objects? For example, things like logging settings, number of threads to create, etc. In that case does it make sense to require an init function that takes these params? Or should I make it optional and just use default values if the user doesn&#8217;t call init?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
