<?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"
	>
<channel>
	<title>Comments on: Mr. Gosling - why did you make URL equals suck?!?</title>
	<atom:link href="http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/feed/" rel="self" type="application/rss+xml" />
	<link>http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/</link>
	<description>Brian Pontarelli</description>
	<pubDate>Wed, 10 Mar 2010 14:33:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Munsey</title>
		<link>http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-34982</link>
		<dc:creator>Munsey</dc:creator>
		<pubDate>Sat, 01 Nov 2008 23:11:23 +0000</pubDate>
		<guid isPermaLink="false">http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-34982</guid>
		<description>Not only do you have the issue of equals returning true for ”http://foo.example.com” and ”http://www.example.com” when it should return false, the opposite also occurs.  If you are doing load balancing with a round robin DNS, there is a good chance that "http://www.mysite.com" and "http://www.mysite.com" return false when they should return true.</description>
		<content:encoded><![CDATA[<p>Not only do you have the issue of equals returning true for ”http://foo.example.com” and ”http://www.example.com” when it should return false, the opposite also occurs.  If you are doing load balancing with a round robin DNS, there is a good chance that &#8220;http://www.mysite.com&#8221; and &#8220;http://www.mysite.com&#8221; return false when they should return true.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: werutzb</title>
		<link>http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-33340</link>
		<dc:creator>werutzb</dc:creator>
		<pubDate>Wed, 08 Oct 2008 02:56:40 +0000</pubDate>
		<guid isPermaLink="false">http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-33340</guid>
		<description>Hi!

I would like make better my SQL experience.
 I red that many SQL books and would like to
read more about SQL for my work as db2 database manager.

 What would you recommend?

Thanks,
Werutz</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I would like make better my SQL experience.<br />
 I red that many SQL books and would like to<br />
read more about SQL for my work as db2 database manager.</p>
<p> What would you recommend?</p>
<p>Thanks,<br />
Werutz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramu</title>
		<link>http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-13932</link>
		<dc:creator>Ramu</dc:creator>
		<pubDate>Fri, 02 May 2008 05:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-13932</guid>
		<description>how to make two objects equal in java</description>
		<content:encoded><![CDATA[<p>how to make two objects equal in java</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Pontarelli</title>
		<link>http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-11826</link>
		<dc:creator>Brian Pontarelli</dc:creator>
		<pubDate>Wed, 16 Apr 2008 15:34:56 +0000</pubDate>
		<guid isPermaLink="false">http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-11826</guid>
		<description>@Alan,

Okay, first off, I'm not crying. I'm pointing out an issue for others to be careful of. I'm perfectly capable of fixing it and offer a suggestion in the post about how to avoid URL - namely always use java.net.URI.

Secondly, you're not really attacking my code are you? That's a bad move. My code is available in many open source projects and if you bothered to look around and check out some of my code, you'd see that it is not only well written and tested, but usually not prone to horrendous issues like java.net.URL. Probably should do some research before you post next time.</description>
		<content:encoded><![CDATA[<p>@Alan,</p>
<p>Okay, first off, I&#8217;m not crying. I&#8217;m pointing out an issue for others to be careful of. I&#8217;m perfectly capable of fixing it and offer a suggestion in the post about how to avoid URL - namely always use java.net.URI.</p>
<p>Secondly, you&#8217;re not really attacking my code are you? That&#8217;s a bad move. My code is available in many open source projects and if you bothered to look around and check out some of my code, you&#8217;d see that it is not only well written and tested, but usually not prone to horrendous issues like java.net.URL. Probably should do some research before you post next time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-11821</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Wed, 16 Apr 2008 14:36:52 +0000</pubDate>
		<guid isPermaLink="false">http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-11821</guid>
		<description>Yes Brian, it is final.  BUT you can write your own myEquals() and iterator instead can you not?

And to those saying that the writer should summarily be sacked, I'ld love to see your code :)  Stop crying about 12 year old technology and do something about it.  Damn programmers are so lazy now days that if it isn't written for them they can't do it.  All lazy programmers want to do is call API's and expect them to work the way THEY want.</description>
		<content:encoded><![CDATA[<p>Yes Brian, it is final.  BUT you can write your own myEquals() and iterator instead can you not?</p>
<p>And to those saying that the writer should summarily be sacked, I&#8217;ld love to see your code :)  Stop crying about 12 year old technology and do something about it.  Damn programmers are so lazy now days that if it isn&#8217;t written for them they can&#8217;t do it.  All lazy programmers want to do is call API&#8217;s and expect them to work the way THEY want.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Pontarelli</title>
		<link>http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-5099</link>
		<dc:creator>Brian Pontarelli</dc:creator>
		<pubDate>Mon, 29 Oct 2007 18:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-5099</guid>
		<description>URL is final, so unless you compile in some AOP, you can't do much with it.</description>
		<content:encoded><![CDATA[<p>URL is final, so unless you compile in some AOP, you can&#8217;t do much with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex bell</title>
		<link>http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-5030</link>
		<dc:creator>Alex bell</dc:creator>
		<pubDate>Wed, 17 Oct 2007 06:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-5030</guid>
		<description>Hello
I agree,The code is 12 years old, and was written with a set-top box system as the target platform.Override equals() if you donâ€™t like it? 

Regards,
Alex Bell</description>
		<content:encoded><![CDATA[<p>Hello<br />
I agree,The code is 12 years old, and was written with a set-top box system as the target platform.Override equals() if you donâ€™t like it? </p>
<p>Regards,<br />
Alex Bell</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jose</title>
		<link>http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-3729</link>
		<dc:creator>Jose</dc:creator>
		<pubDate>Mon, 28 May 2007 14:14:29 +0000</pubDate>
		<guid isPermaLink="false">http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-3729</guid>
		<description>Not only is it wrong, but it can be very slow. It goes to DNS to do equals or hashCode. Not only that, it appears that "file" URLs do a host lookup too. Plus the boot class loader seems to rely on this to load JAR files.</description>
		<content:encoded><![CDATA[<p>Not only is it wrong, but it can be very slow. It goes to DNS to do equals or hashCode. Not only that, it appears that &#8220;file&#8221; URLs do a host lookup too. Plus the boot class loader seems to rely on this to load JAR files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ProgonkaOne</title>
		<link>http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-3218</link>
		<dc:creator>ProgonkaOne</dc:creator>
		<pubDate>Wed, 14 Mar 2007 03:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-3218</guid>
		<description>NSU - 4efer, 5210 - rulez 
&lt;a href="http://bk-magazin.com" rel="nofollow"&gt;&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>NSU - 4efer, 5210 - rulez<br />
<a href="http://bk-magazin.com" rel="nofollow"></a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhi Beckert</title>
		<link>http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-3084</link>
		<dc:creator>Abhi Beckert</dc:creator>
		<pubDate>Sun, 04 Feb 2007 06:03:52 +0000</pubDate>
		<guid isPermaLink="false">http://brian.pontarelli.com/2006/12/05/mr-gosling-why-did-you-make-url-equals-suck/#comment-3084</guid>
		<description>&lt;blockquote&gt;Umm..if the IP addresses are identical they are in fact the same URL for all intents and purposes and therefore equal assuming you are using the same application, say a browser, to access them which uses a well-known port. Only one app can bind to one port on an IP at a time right?&lt;/blockquote&gt;

Wrong. I work closely with the it manager of a small datacenter, and they have as many as 500 websites running on a single external IP address. In other words, this comparison method could say that http://foo.net is equal to http://bar.org.au, simply by both of those domains being hosted with the same company.</description>
		<content:encoded><![CDATA[<blockquote><p>Umm..if the IP addresses are identical they are in fact the same URL for all intents and purposes and therefore equal assuming you are using the same application, say a browser, to access them which uses a well-known port. Only one app can bind to one port on an IP at a time right?</p></blockquote>
<p>Wrong. I work closely with the it manager of a small datacenter, and they have as many as 500 websites running on a single external IP address. In other words, this comparison method could say that <a href="http://foo.net" rel="nofollow">http://foo.net</a> is equal to <a href="http://bar.org.au" rel="nofollow">http://bar.org.au</a>, simply by both of those domains being hosted with the same company.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
