<?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: Scala Gets Operator Overloading Right</title>
	<atom:link href="http://joeygibson.com/2009/05/30/scala-gets-operator-overloading-right/feed/" rel="self" type="application/rss+xml" />
	<link>http://joeygibson.com/2009/05/30/scala-gets-operator-overloading-right/</link>
	<description>Java, Clojure, Scala, Groovy, Ruby, Python, Lisp, Objective-C, OSX, politics, religion, Koine Greek, Tae Kwon Do, Spanish and much more!</description>
	<lastBuildDate>Fri, 27 Jan 2012 16:22:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Braden McDorman</title>
		<link>http://joeygibson.com/2009/05/30/scala-gets-operator-overloading-right/comment-page-1/#comment-1347</link>
		<dc:creator>Braden McDorman</dc:creator>
		<pubDate>Wed, 18 Nov 2009 13:04:57 +0000</pubDate>
		<guid isPermaLink="false">http://joeygibson.com/?p=1131#comment-1347</guid>
		<description>DannyB: The usage you describe is a little ambiguous.. Is the integer a day, month, or year? I believe a more descriptive name would be in order. Fortunately Scala allows you to use any one parameter functions as operators, so you could easily have &quot;+days&quot;. &quot;Date +days 100&quot;

Thanks,
Braden</description>
		<content:encoded><![CDATA[<p>DannyB: The usage you describe is a little ambiguous.. Is the integer a day, month, or year? I believe a more descriptive name would be in order. Fortunately Scala allows you to use any one parameter functions as operators, so you could easily have &#8220;+days&#8221;. &#8220;Date +days 100&#8243;</p>
<p>Thanks,<br />
Braden</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DannyB</title>
		<link>http://joeygibson.com/2009/05/30/scala-gets-operator-overloading-right/comment-page-1/#comment-995</link>
		<dc:creator>DannyB</dc:creator>
		<pubDate>Wed, 19 Aug 2009 13:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://joeygibson.com/?p=1131#comment-995</guid>
		<description>It does make sense to override + and - on Date.

Date + integer =&gt; Date
Date - integer =&gt; Date
Date - Date = integer</description>
		<content:encoded><![CDATA[<p>It does make sense to override + and &#8211; on Date.</p>
<p>Date + integer =&gt; Date<br />
Date &#8211; integer =&gt; Date<br />
Date &#8211; Date = integer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joeygibson</title>
		<link>http://joeygibson.com/2009/05/30/scala-gets-operator-overloading-right/comment-page-1/#comment-921</link>
		<dc:creator>joeygibson</dc:creator>
		<pubDate>Mon, 01 Jun 2009 00:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://joeygibson.com/?p=1131#comment-921</guid>
		<description>Anders, my understanding was that if you overloaded math operators in C++, it still respected the regular precedence.</description>
		<content:encoded><![CDATA[<p>Anders, my understanding was that if you overloaded math operators in C++, it still respected the regular precedence.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://joeygibson.com/2009/05/30/scala-gets-operator-overloading-right/comment-page-1/#comment-919</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Sun, 31 May 2009 21:15:58 +0000</pubDate>
		<guid isPermaLink="false">http://joeygibson.com/?p=1131#comment-919</guid>
		<description>...I meant to have an IMO somewhere there, of course. Sorry if I came across as trying to pass off opinion as fact. :(</description>
		<content:encoded><![CDATA[<p>&#8230;I meant to have an IMO somewhere there, of course. Sorry if I came across as trying to pass off opinion as fact. :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://joeygibson.com/2009/05/30/scala-gets-operator-overloading-right/comment-page-1/#comment-918</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Sun, 31 May 2009 21:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://joeygibson.com/?p=1131#comment-918</guid>
		<description>C++ doesn&#039;t do it right; you can&#039;t define new operators, only provide definitions for existing ones.

(Also, I miss user-specified fixity, but that&#039;s mostly just because I can never remember Scala&#039;s builtin precedences :p)</description>
		<content:encoded><![CDATA[<p>C++ doesn&#8217;t do it right; you can&#8217;t define new operators, only provide definitions for existing ones.</p>
<p>(Also, I miss user-specified fixity, but that&#8217;s mostly just because I can never remember Scala&#8217;s builtin precedences :p)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik</title>
		<link>http://joeygibson.com/2009/05/30/scala-gets-operator-overloading-right/comment-page-1/#comment-917</link>
		<dc:creator>Henrik</dc:creator>
		<pubDate>Sun, 31 May 2009 18:49:55 +0000</pubDate>
		<guid isPermaLink="false">http://joeygibson.com/?p=1131#comment-917</guid>
		<description>Hi, you might be interested in the following example:

http://web.archive.org/web/20080204102246/users.utu.fi/hvkhut/scalad/infix.htm</description>
		<content:encoded><![CDATA[<p>Hi, you might be interested in the following example:</p>
<p><a href="http://web.archive.org/web/20080204102246/users.utu.fi/hvkhut/scalad/infix.htm" rel="nofollow">http://web.archive.org/web/20080204102246/users.utu.fi/hvkhut/scalad/infix.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mads Andersen</title>
		<link>http://joeygibson.com/2009/05/30/scala-gets-operator-overloading-right/comment-page-1/#comment-916</link>
		<dc:creator>Mads Andersen</dc:creator>
		<pubDate>Sun, 31 May 2009 07:03:49 +0000</pubDate>
		<guid isPermaLink="false">http://joeygibson.com/?p=1131#comment-916</guid>
		<description>Uhh, your multiply of complex numbers is wrong ;-)

Remember that i == sqrt(-1). So i*i = -1. Look here: http://en.wikipedia.org/wiki/Complex_numbers#Formal_development</description>
		<content:encoded><![CDATA[<p>Uhh, your multiply of complex numbers is wrong ;-)</p>
<p>Remember that i == sqrt(-1). So i*i = -1. Look here: <a href="http://en.wikipedia.org/wiki/Complex_numbers#Formal_development" rel="nofollow">http://en.wikipedia.org/wiki/Complex_numbers#Formal_development</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

