<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Java and C#: Language Nuances Make You Think Differently</title>
	<link>http://www.gavaghan.org/blog/2007/07/18/java-and-csharp-language-nuances-make-you-think-differently/</link>
	<description>Mike Gavaghan blogs on Java, C#, .Net, and the software industry</description>
	<pubDate>Thu, 11 Mar 2010 08:33:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>

	<item>
		<title>By: teppic</title>
		<link>http://www.gavaghan.org/blog/2007/07/18/java-and-csharp-language-nuances-make-you-think-differently/#comment-3</link>
		<author>teppic</author>
		<pubDate>Fri, 20 Jul 2007 10:53:40 +0000</pubDate>
		<guid>http://www.gavaghan.org/blog/2007/07/18/java-and-csharp-language-nuances-make-you-think-differently/#comment-3</guid>
					<description>Generics hasn't been a great thing for Java. Autoboxing is a bit of a dog-turd-on-the-picnic-blanket too. Attributes are a positive; they're an obvious compliment to a statically typed dynamic language.

The thing I miss in C# is checked exceptions.</description>
		<content:encoded><![CDATA[<p>Generics hasn&#8217;t been a great thing for Java. Autoboxing is a bit of a dog-turd-on-the-picnic-blanket too. Attributes are a positive; they&#8217;re an obvious compliment to a statically typed dynamic language.</p>
<p>The thing I miss in C# is checked exceptions.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: tonywestonuk</title>
		<link>http://www.gavaghan.org/blog/2007/07/18/java-and-csharp-language-nuances-make-you-think-differently/#comment-4</link>
		<author>tonywestonuk</author>
		<pubDate>Fri, 20 Jul 2007 11:00:09 +0000</pubDate>
		<guid>http://www.gavaghan.org/blog/2007/07/18/java-and-csharp-language-nuances-make-you-think-differently/#comment-4</guid>
					<description>Have you looked at PropertyChangeSupport class?.... It makes it much easier to implements the Observer pattern... Have a look here: http://www.javalobby.org/java/forums/t19476.html</description>
		<content:encoded><![CDATA[<p>Have you looked at PropertyChangeSupport class?&#8230;. It makes it much easier to implements the Observer pattern&#8230; Have a look here: <a href="http://www.javalobby.org/java/forums/t19476.html" rel="nofollow">http://www.javalobby.org/java/forums/t19476.html</a></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Raoul Duke</title>
		<link>http://www.gavaghan.org/blog/2007/07/18/java-and-csharp-language-nuances-make-you-think-differently/#comment-117</link>
		<author>Raoul Duke</author>
		<pubDate>Sun, 16 Mar 2008 21:42:19 +0000</pubDate>
		<guid>http://www.gavaghan.org/blog/2007/07/18/java-and-csharp-language-nuances-make-you-think-differently/#comment-117</guid>
					<description>lots of subjectivity in all these things, but

a) i think C# delegates are maybe less evil than Java, but are still pretty much total crap vs. being able to just pass a function like in Perl or Scala or Haskell.

b) inheritance is, basically, evil, triply so in languages which do not help you distinguish between sub-classing (for code reuse) and sub-typing (which is what you need for correct polymorphic usage of subclass-and-baseclass). neither Java nor C# come anywhere remotely close to a decent approach to dealing with those issues, more is the pity.

($0.02 from me, not guaranteed to be correct for anybody else's perspective :-)</description>
		<content:encoded><![CDATA[<p>lots of subjectivity in all these things, but</p>
<p>a) i think C# delegates are maybe less evil than Java, but are still pretty much total crap vs. being able to just pass a function like in Perl or Scala or Haskell.</p>
<p>b) inheritance is, basically, evil, triply so in languages which do not help you distinguish between sub-classing (for code reuse) and sub-typing (which is what you need for correct polymorphic usage of subclass-and-baseclass). neither Java nor C# come anywhere remotely close to a decent approach to dealing with those issues, more is the pity.</p>
<p>($0.02 from me, not guaranteed to be correct for anybody else&#8217;s perspective <img src='http://www.gavaghan.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
</channel>
</rss>
