<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bag of Beans &#187; programming</title>
	<atom:link href="http://bagofbeans.tsangal.org/archives/tag/programming/feed" rel="self" type="application/rss+xml" />
	<link>http://bagofbeans.tsangal.org</link>
	<description>Caffeine not included.</description>
	<lastBuildDate>Thu, 29 Jul 2010 01:25:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Write an Equality Method in Java</title>
		<link>http://bagofbeans.tsangal.org/archives/511</link>
		<comments>http://bagofbeans.tsangal.org/archives/511#comments</comments>
		<pubDate>Tue, 09 Jun 2009 17:47:38 +0000</pubDate>
		<dc:creator>Beanbag</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://bagofbeans.tsangal.org/?p=511</guid>
		<description><![CDATA[Excellent article on how to avoid common pitfalls and preserve the contract of equals() when writing an equality method in Java.
Class java.lang.Object defines an equals method, which subclasses may override. Unfortunately, it turns out that writing a correct equality method is surprisingly difficult in object-oriented languages. In fact, after studying a large body of Java [...]]]></description>
			<content:encoded><![CDATA[<p>Excellent article on how to avoid common pitfalls and preserve the contract of equals() when writing an equality method in Java.</p>
<blockquote><p>Class java.lang.Object defines an equals method, which subclasses may override. Unfortunately, it turns out that writing a correct equality method is surprisingly difficult in object-oriented languages. In fact, after studying a large body of Java code, the authors of a 2007 paper concluded that almost all implementations of equals methods are faulty.</p></blockquote>
<ul>
<li><a href="http://www.artima.com/lejava/articles/equality.html">Link</a> (via <a href="http://news.ycombinator.com/item?id=649258">Hacker News</a>)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://bagofbeans.tsangal.org/archives/511/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
