<?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: Coding: Checking invariants in a factory method</title>
	<atom:link href="http://www.markhneedham.com/blog/2009/09/06/coding-checking-invariants-in-a-factory-method/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markhneedham.com/blog/2009/09/06/coding-checking-invariants-in-a-factory-method/</link>
	<description>Thoughts on Software Development</description>
	<lastBuildDate>Sat, 11 Feb 2012 23:17:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Giorgio Sironi</title>
		<link>http://www.markhneedham.com/blog/2009/09/06/coding-checking-invariants-in-a-factory-method/comment-page-1/#comment-22349</link>
		<dc:creator>Giorgio Sironi</dc:creator>
		<pubDate>Tue, 08 Sep 2009 14:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1613#comment-22349</guid>
		<description>I advocate to place null checks in a factory also for testing purposes. Otherwise when creating an User for a unit test, you will be forced to provide values to satisfy the assertion &#039;is not null&#039; inside the User constructor, while you may even not caring what username or password are there in this particular test.</description>
		<content:encoded><![CDATA[<p>I advocate to place null checks in a factory also for testing purposes. Otherwise when creating an User for a unit test, you will be forced to provide values to satisfy the assertion &#8216;is not null&#8217; inside the User constructor, while you may even not caring what username or password are there in this particular test.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Twitter Trackbacks for Coding: Checking invariants in a factory method at Mark Needham [markhneedham.com] on Topsy.com</title>
		<link>http://www.markhneedham.com/blog/2009/09/06/coding-checking-invariants-in-a-factory-method/comment-page-1/#comment-22321</link>
		<dc:creator>Twitter Trackbacks for Coding: Checking invariants in a factory method at Mark Needham [markhneedham.com] on Topsy.com</dc:creator>
		<pubDate>Mon, 07 Sep 2009 12:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1613#comment-22321</guid>
		<description>[...] Coding: Checking invariants in a factory method at Mark Needham  www.markhneedham.com/blog/2009/09/06/coding-checking-invariants-in-a-factory-method &#8211; view page &#8211; cached  Thoughts on Software Development &#8212; From the page [...]</description>
		<content:encoded><![CDATA[<p>[...] Coding: Checking invariants in a factory method at Mark Needham  <a href="http://www.markhneedham.com/blog/2009/09/06/coding-checking-invariants-in-a-factory-method" rel="nofollow">http://www.markhneedham.com/blog/2009/09/06/coding-checking-invariants-in-a-factory-method</a> &ndash; view page &ndash; cached  Thoughts on Software Development &mdash; From the page [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #427</title>
		<link>http://www.markhneedham.com/blog/2009/09/06/coding-checking-invariants-in-a-factory-method/comment-page-1/#comment-22314</link>
		<dc:creator>Reflective Perspective - Chris Alcock &#187; The Morning Brew #427</dc:creator>
		<pubDate>Mon, 07 Sep 2009 07:43:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1613#comment-22314</guid>
		<description>[...] Checking invariants in a factory method - Mark Needham talks about the use of the factory method to create objects in a consistent state by having the factory be responsible for ensuring all the invariants are satisfied [...]</description>
		<content:encoded><![CDATA[<p>[...] Checking invariants in a factory method &#8211; Mark Needham talks about the use of the factory method to create objects in a consistent state by having the factory be responsible for ensuring all the invariants are satisfied [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

