<?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: Learning C#: Early Impressions</title>
	<atom:link href="http://darylteo.com/blog/2008/12/21/learning-c-early-impressions/feed/" rel="self" type="application/rss+xml" />
	<link>http://darylteo.com/blog/2008/12/21/learning-c-early-impressions/</link>
	<description>Bits and blobs on anything tech</description>
	<lastBuildDate>Sat, 31 Dec 2011 19:51:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Aaron</title>
		<link>http://darylteo.com/blog/2008/12/21/learning-c-early-impressions/comment-page-1/#comment-9042</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Mon, 12 Jan 2009 13:04:42 +0000</pubDate>
		<guid isPermaLink="false">http://darylteo.com/blog/?p=194#comment-9042</guid>
		<description>Java&#039;s protected and default visibility are retarded.

C++ and C# make more sense(not that I develop in either of those anyway),</description>
		<content:encoded><![CDATA[<p>Java&#8217;s protected and default visibility are retarded.</p>
<p>C++ and C# make more sense(not that I develop in either of those anyway),</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daryl</title>
		<link>http://darylteo.com/blog/2008/12/21/learning-c-early-impressions/comment-page-1/#comment-8976</link>
		<dc:creator>Daryl</dc:creator>
		<pubDate>Sun, 04 Jan 2009 13:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://darylteo.com/blog/?p=194#comment-8976</guid>
		<description>Welcome Sam to my humble home. I am glad to see your comment :)

I suppose alot of these things are a matter of adjusting to the language and its &quot;features&quot; (something I reiterate alot in the post, as you might have noticed). 

As for the IDE... I could have a field day with that one! (Why doesn&#039;t Eclipse have a .NET plugin!?!) Perhaps I will write about it when I finally use Visual Studio 2008, since it would be more relevant. From what I heard, not much has changed either.

Again, thank you for your comment and I hope to see you around more :) Nice site btw.

Cheers
Daryl</description>
		<content:encoded><![CDATA[<p>Welcome Sam to my humble home. I am glad to see your comment <img src='http://darylteo.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I suppose alot of these things are a matter of adjusting to the language and its &#8220;features&#8221; (something I reiterate alot in the post, as you might have noticed). </p>
<p>As for the IDE&#8230; I could have a field day with that one! (Why doesn&#8217;t Eclipse have a .NET plugin!?!) Perhaps I will write about it when I finally use Visual Studio 2008, since it would be more relevant. From what I heard, not much has changed either.</p>
<p>Again, thank you for your comment and I hope to see you around more <img src='http://darylteo.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Nice site btw.</p>
<p>Cheers<br />
Daryl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://darylteo.com/blog/2008/12/21/learning-c-early-impressions/comment-page-1/#comment-8975</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Sun, 04 Jan 2009 12:16:38 +0000</pubDate>
		<guid isPermaLink="false">http://darylteo.com/blog/?p=194#comment-8975</guid>
		<description>I&#039;m doing this from the other way around - learning Java after having a solid background in C#. I&#039;d say its a more difficult that way, because C# gives you all kinds of nice constructs in the language, like delegates, event handlers, LINQ, lambda expressions, to make things easier (possibly at the expense of readability if you&#039;re not used to it), which Java doesn&#039;t have.

About properties - I really missed these. If the lack of the &#039;set&#039; keyword is confusing, declaring and setting variables must be confusing too :)

As for knowing if something is read-only - I assume you&#039;re using an IDE, in which case it will tell you if something is read-only by the icon and the popup hint. It takes time to get used to I suppose. 

The problem with properties is that it implies that it is just as simple as setting/getting a variable, when the get/set code might in fact be doing lengthy calculations, or has side-effects, neither which is conveyed in the syntax. Then again, that&#039;s really abusing properties, and can be done in Java too.

About subclasses - all .NET interfaces start with an I, e.g. ISerializable. This is by convention but is fairly strongly adhered to (and might even produce a warning in the IDE). I do like the Java syntax here though.

And operator overloading - haven&#039;t had the need to use it myself, but what about for matrix classes, or timespans? There&#039;s a logical reason there. Someone would have to have a pretty good reason to operator overload though, and it should only replace functionality for specific cases (e.g. between two matrices, not anything else).

Looking forward to hearing the rant on ASP.NET :)</description>
		<content:encoded><![CDATA[<p>I&#8217;m doing this from the other way around &#8211; learning Java after having a solid background in C#. I&#8217;d say its a more difficult that way, because C# gives you all kinds of nice constructs in the language, like delegates, event handlers, LINQ, lambda expressions, to make things easier (possibly at the expense of readability if you&#8217;re not used to it), which Java doesn&#8217;t have.</p>
<p>About properties &#8211; I really missed these. If the lack of the &#8216;set&#8217; keyword is confusing, declaring and setting variables must be confusing too <img src='http://darylteo.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>As for knowing if something is read-only &#8211; I assume you&#8217;re using an IDE, in which case it will tell you if something is read-only by the icon and the popup hint. It takes time to get used to I suppose. </p>
<p>The problem with properties is that it implies that it is just as simple as setting/getting a variable, when the get/set code might in fact be doing lengthy calculations, or has side-effects, neither which is conveyed in the syntax. Then again, that&#8217;s really abusing properties, and can be done in Java too.</p>
<p>About subclasses &#8211; all .NET interfaces start with an I, e.g. ISerializable. This is by convention but is fairly strongly adhered to (and might even produce a warning in the IDE). I do like the Java syntax here though.</p>
<p>And operator overloading &#8211; haven&#8217;t had the need to use it myself, but what about for matrix classes, or timespans? There&#8217;s a logical reason there. Someone would have to have a pretty good reason to operator overload though, and it should only replace functionality for specific cases (e.g. between two matrices, not anything else).</p>
<p>Looking forward to hearing the rant on ASP.NET <img src='http://darylteo.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

