<?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: The Law of Demeter</title>
	<atom:link href="http://blog.kriskemper.com/2008/05/10/the-law-of-demeter/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kriskemper.com/2008/05/10/the-law-of-demeter/</link>
	<description>Thoughtworker, Agile Philosopher, Hero</description>
	<lastBuildDate>Sun, 11 Sep 2011 04:15:23 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Kris Kemper</title>
		<link>http://blog.kriskemper.com/2008/05/10/the-law-of-demeter/comment-page-1/#comment-11</link>
		<dc:creator>Kris Kemper</dc:creator>
		<pubDate>Sun, 11 May 2008 18:28:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kriskemper.com/2008/05/10/the-law-of-demeter/#comment-11</guid>
		<description>Not all implementations of a fluent interface have to violate the law of demeter. For instance, an object returns only itself so methods can be chained.

I&#039;ve used fluent interfaces for builders before, and in that case, you can use package level access and have the builder in the same package. The builder can cheat a little and get better access, but the rest of world doesn&#039;t.

The law of demeter is still a good behavior to have by default.</description>
		<content:encoded><![CDATA[<p>Not all implementations of a fluent interface have to violate the law of demeter. For instance, an object returns only itself so methods can be chained.</p>
<p>I&#8217;ve used fluent interfaces for builders before, and in that case, you can use package level access and have the builder in the same package. The builder can cheat a little and get better access, but the rest of world doesn&#8217;t.</p>
<p>The law of demeter is still a good behavior to have by default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandre</title>
		<link>http://blog.kriskemper.com/2008/05/10/the-law-of-demeter/comment-page-1/#comment-10</link>
		<dc:creator>Alexandre</dc:creator>
		<pubDate>Sun, 11 May 2008 17:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kriskemper.com/2008/05/10/the-law-of-demeter/#comment-10</guid>
		<description>Nice article, Kris... but, what about Fluent Interfaces?? They clearly violate the Law of Demeter</description>
		<content:encoded><![CDATA[<p>Nice article, Kris&#8230; but, what about Fluent Interfaces?? They clearly violate the Law of Demeter</p>
]]></content:encoded>
	</item>
</channel>
</rss>

