<?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 for Java Refugees Part 1: main(String[])</title>
	<atom:link href="http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1</link>
	<description>(permanently in beta)</description>
	<lastBuildDate>Mon, 09 Jan 2012 20:21:24 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Syed Rakib Al Hasan</title>
		<link>http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1/comment-page-1#comment-5449</link>
		<dc:creator>Syed Rakib Al Hasan</dc:creator>
		<pubDate>Wed, 21 Sep 2011 15:24:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1#comment-5449</guid>
		<description>seems interesting...... but when Scala becomes popular (hopefully) in the future, wouldn&#039;t it be facing legal objections from Oracle for using Java as its base like the way android is facing lawsuits from oracle right now?</description>
		<content:encoded><![CDATA[<p>seems interesting&#8230;&#8230; but when Scala becomes popular (hopefully) in the future, wouldn&#8217;t it be facing legal objections from Oracle for using Java as its base like the way android is facing lawsuits from oracle right now?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lumiha</title>
		<link>http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1/comment-page-1#comment-5447</link>
		<dc:creator>Lumiha</dc:creator>
		<pubDate>Wed, 14 Sep 2011 15:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1#comment-5447</guid>
		<description>Hello Daniel,

Thanks for this article, awesome work :-)

Just one hint about an outdated subject:

Since Scala 2.9.0 
object HelloWorld extends App // rather than Application 
did became idiomatic to define a simple application.</description>
		<content:encoded><![CDATA[<p>Hello Daniel,</p>
<p>Thanks for this article, awesome work <img src='http://www.codecommit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Just one hint about an outdated subject:</p>
<p>Since Scala 2.9.0<br />
object HelloWorld extends App // rather than Application<br />
did became idiomatic to define a simple application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vimal</title>
		<link>http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1/comment-page-1#comment-5151</link>
		<dc:creator>vimal</dc:creator>
		<pubDate>Wed, 13 Oct 2010 12:31:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1#comment-5151</guid>
		<description>Its a really nice article ... thanks a lot !!</description>
		<content:encoded><![CDATA[<p>Its a really nice article &#8230; thanks a lot !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny M</title>
		<link>http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1/comment-page-1#comment-5150</link>
		<dc:creator>Johnny M</dc:creator>
		<pubDate>Wed, 13 Oct 2010 05:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1#comment-5150</guid>
		<description>Wow what an excellent start to the article: &quot;It’s like an old girlfriend; you may not feel the vibe anymore, but you know just how to rub it so it smiles.  In short, you’re a craftsman, and Java is your workhorse tool.&quot;

The first sentence is pretty striaghtforward, but chaining that with the latter, does he compare a girlfriend to a workhorse? Please don&#039;t misinterpret me, this is not some feministic disagreement with the writer, instead I would give kudos to him for being so brave :)

Also the rest of the article (series) is great.</description>
		<content:encoded><![CDATA[<p>Wow what an excellent start to the article: &#8220;It’s like an old girlfriend; you may not feel the vibe anymore, but you know just how to rub it so it smiles.  In short, you’re a craftsman, and Java is your workhorse tool.&#8221;</p>
<p>The first sentence is pretty striaghtforward, but chaining that with the latter, does he compare a girlfriend to a workhorse? Please don&#8217;t misinterpret me, this is not some feministic disagreement with the writer, instead I would give kudos to him for being so brave <img src='http://www.codecommit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Also the rest of the article (series) is great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marcus</title>
		<link>http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1/comment-page-1#comment-5121</link>
		<dc:creator>marcus</dc:creator>
		<pubDate>Thu, 29 Jul 2010 18:57:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1#comment-5121</guid>
		<description>@alan

If you try to line up parameters, for example, a different tab size will screw up the formatting. By using TABs you force everyone to have the same tab size unless you never, never try to do any fancy formatting

See this example:

void funct(T1 par1,
TAB TAB T2 par2,
TAB TAB T3 par3) {
TAB body; TAB TAB TAB // coment
}

The code above will look fine in any editor if indented with spaces. If you indent it with tabs, you will have to use TABs with size 4 to make T1 and T2 line up (and if the function name changes, you will have to mix tabs and spaces). Same thing with the inline &quot;//coment&quot;, if you want to line it up with other comments, tabs won&#039;t do.</description>
		<content:encoded><![CDATA[<p>@alan</p>
<p>If you try to line up parameters, for example, a different tab size will screw up the formatting. By using TABs you force everyone to have the same tab size unless you never, never try to do any fancy formatting</p>
<p>See this example:</p>
<p>void funct(T1 par1,<br />
TAB TAB T2 par2,<br />
TAB TAB T3 par3) {<br />
TAB body; TAB TAB TAB // coment<br />
}</p>
<p>The code above will look fine in any editor if indented with spaces. If you indent it with tabs, you will have to use TABs with size 4 to make T1 and T2 line up (and if the function name changes, you will have to mix tabs and spaces). Same thing with the inline &#8220;//coment&#8221;, if you want to line it up with other comments, tabs won&#8217;t do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alan</title>
		<link>http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1/comment-page-1#comment-5092</link>
		<dc:creator>alan</dc:creator>
		<pubDate>Wed, 23 Jun 2010 00:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1#comment-5092</guid>
		<description>At the risk of opening a can of worms... why does anybody think that spaces are better than tabs? I fail to see it; tabs allow everybody to pick their own indentation size without having a mess of different indentations when code is edited by more than one programmer (provided of course that everyone is using a modern editor that can support different tab sizes; I don&#039;t know of an editor that doesn&#039;t). If I want to have 8 spaces, why can&#039;t I? What if I really, really, want 6 spaces? I can&#039;t when people use spaces instead of tabs. It&#039;s like trying to force all editors to show scala keywords in a certain color.

Yes, I&#039;m somewhat upset... and this is kind of ranting, but really... please... for the love of everything sane and beautiful, just use tabs.</description>
		<content:encoded><![CDATA[<p>At the risk of opening a can of worms&#8230; why does anybody think that spaces are better than tabs? I fail to see it; tabs allow everybody to pick their own indentation size without having a mess of different indentations when code is edited by more than one programmer (provided of course that everyone is using a modern editor that can support different tab sizes; I don&#8217;t know of an editor that doesn&#8217;t). If I want to have 8 spaces, why can&#8217;t I? What if I really, really, want 6 spaces? I can&#8217;t when people use spaces instead of tabs. It&#8217;s like trying to force all editors to show scala keywords in a certain color.</p>
<p>Yes, I&#8217;m somewhat upset&#8230; and this is kind of ranting, but really&#8230; please&#8230; for the love of everything sane and beautiful, just use tabs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1/comment-page-1#comment-5085</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 18 Jun 2010 21:00:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1#comment-5085</guid>
		<description>It looks very interesting I must admit but I still have some doubts:

Consider this code

args.foreach { arg =&gt;
  greeting += (arg + &quot; &quot;)
}


instead of

foreach (String arg : args) {
    greeting += arg + &quot; &quot;;
}


isn&#039;t the structure of the code more difficult to recognize when the foreach is not at the beginning of the line? The 2-space indentation also adds to this feeling. The structure can&#039;t be seen so quickly. And it gets even worse with the single-instruction closure:


args.foreach(arg =&gt; greeting += (arg + &quot; &quot;))


It&#039;s much more difficult to see the loop in a function containing this line. But I think that&#039;s very important since the number of (possibly nested) for loops reflects more or less directly the runtime performance of your code.

Also I&#039;m struggling with the fact, that things can be done in so much different ways. For example, you say one can still use the semicolons. Then everybody can do what he wants in this regard. I think it&#039;s highly desirable to have a language where things can only be done in one way because that forces everyone to do it exactly the same way. This reduces the sum of different syntax tricks I have to master in order to understand the language. It&#039;s also better if in a project team the source code always looks exactly the same way regardless of who has written it.

So, while I think there are really refreshing concepts here, I wouldn&#039;t be so sure if I would want to change to Scala only because it&#039;s supposed to be a &quot;better&quot; Java. There are also some studies that show, that programmers spent the fewest time with typing in code. So you can&#039;t really save so much time with fewer syntax. But you will loose a lot of time if the syntax is harder to understand ...</description>
		<content:encoded><![CDATA[<p>It looks very interesting I must admit but I still have some doubts:</p>
<p>Consider this code</p>
<p>args.foreach { arg =&gt;<br />
  greeting += (arg + &#8221; &#8220;)<br />
}</p>
<p>instead of</p>
<p>foreach (String arg : args) {<br />
    greeting += arg + &#8221; &#8220;;<br />
}</p>
<p>isn&#8217;t the structure of the code more difficult to recognize when the foreach is not at the beginning of the line? The 2-space indentation also adds to this feeling. The structure can&#8217;t be seen so quickly. And it gets even worse with the single-instruction closure:</p>
<p>args.foreach(arg =&gt; greeting += (arg + &#8221; &#8220;))</p>
<p>It&#8217;s much more difficult to see the loop in a function containing this line. But I think that&#8217;s very important since the number of (possibly nested) for loops reflects more or less directly the runtime performance of your code.</p>
<p>Also I&#8217;m struggling with the fact, that things can be done in so much different ways. For example, you say one can still use the semicolons. Then everybody can do what he wants in this regard. I think it&#8217;s highly desirable to have a language where things can only be done in one way because that forces everyone to do it exactly the same way. This reduces the sum of different syntax tricks I have to master in order to understand the language. It&#8217;s also better if in a project team the source code always looks exactly the same way regardless of who has written it.</p>
<p>So, while I think there are really refreshing concepts here, I wouldn&#8217;t be so sure if I would want to change to Scala only because it&#8217;s supposed to be a &#8220;better&#8221; Java. There are also some studies that show, that programmers spent the fewest time with typing in code. So you can&#8217;t really save so much time with fewer syntax. But you will loose a lot of time if the syntax is harder to understand &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Senthil</title>
		<link>http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1/comment-page-1#comment-4959</link>
		<dc:creator>Senthil</dc:creator>
		<pubDate>Mon, 05 Apr 2010 07:24:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1#comment-4959</guid>
		<description>Very Nice introduction... I like it very much. Will send this link to my friends as well :-)</description>
		<content:encoded><![CDATA[<p>Very Nice introduction&#8230; I like it very much. Will send this link to my friends as well <img src='http://www.codecommit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zillo</title>
		<link>http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1/comment-page-1#comment-4927</link>
		<dc:creator>Zillo</dc:creator>
		<pubDate>Sat, 23 Jan 2010 18:58:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1#comment-4927</guid>
		<description>We have both a Scala / Java environment in our office. The scala developers are very &quot;ivory tower&quot;. They manage their projects with vim, they sit around discussing byte code all day, but in general are good developers.  Problem is, for all the efficiencies that Scala apparently brings, they are months, even a year+ late on major projects.  Yet, the Java people are consistently on time.  The biggest reason I think is the editor.  The scala guys, take weeks or months to do a simple refactor, something it takes the Java guys minutes to do with eclipse.

Until the tools are there, Scala will have a tough time kicking Java out if the #1 spot for most deployed language in the world.  I&#039;d expect that unless Scala is acquired by SpringSource, its probably going to end up like Ruby. A quick climax and then a fast fall.</description>
		<content:encoded><![CDATA[<p>We have both a Scala / Java environment in our office. The scala developers are very &#8220;ivory tower&#8221;. They manage their projects with vim, they sit around discussing byte code all day, but in general are good developers.  Problem is, for all the efficiencies that Scala apparently brings, they are months, even a year+ late on major projects.  Yet, the Java people are consistently on time.  The biggest reason I think is the editor.  The scala guys, take weeks or months to do a simple refactor, something it takes the Java guys minutes to do with eclipse.</p>
<p>Until the tools are there, Scala will have a tough time kicking Java out if the #1 spot for most deployed language in the world.  I&#8217;d expect that unless Scala is acquired by SpringSource, its probably going to end up like Ruby. A quick climax and then a fast fall.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gerbre</title>
		<link>http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1/comment-page-1#comment-4891</link>
		<dc:creator>gerbre</dc:creator>
		<pubDate>Sat, 05 Sep 2009 17:30:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/scala/scala-for-java-refugees-part-1#comment-4891</guid>
		<description>&gt; Scala makes it possible to invoke methods using several different syntaxes. 

How clever is this? From a concise language I would expect a minimal reduction to avoid comments about so many confusing syntax alternatives found here.</description>
		<content:encoded><![CDATA[<p>&gt; Scala makes it possible to invoke methods using several different syntaxes. </p>
<p>How clever is this? From a concise language I would expect a minimal reduction to avoid comments about so many confusing syntax alternatives found here.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

