<?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: RE: Java 5.0 goes the wrong way, Groovy goes too far</title>
	<atom:link href="http://almaer.com/blog/re-java-50-goes-the-wrong-way-groovy-goes-too-far/feed" rel="self" type="application/rss+xml" />
	<link>http://almaer.com/blog/re-java-50-goes-the-wrong-way-groovy-goes-too-far</link>
	<description>blogging about life, the universe, and everything tech</description>
	<lastBuildDate>Sat, 08 Sep 2012 07:06:53 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Richard Dale</title>
		<link>http://almaer.com/blog/re-java-50-goes-the-wrong-way-groovy-goes-too-far/comment-page-1#comment-9104</link>
		<dc:creator>Richard Dale</dc:creator>
		<pubDate>Tue, 05 Oct 2004 12:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog2/re-java-50-goes-the-wrong-way-groovy-goes-too-far#comment-9104</guid>
		<description>&quot;No need for type inference with strong dynamic untyped variables in Smalltalk.&quot;

No need for them in Ruby or Groovy either though. I think Dion is saying he wants Groovy to be groovier. Ruby is more dynamic than Groovy - you can add methods to existing classes, or subclass an individual instance. Maybe that would be a good start.

irb(main):001:0&gt; p = {}
=&gt; {}
irb(main):002:0&gt; p[&quot;test&quot;] = &quot;value&quot;
=&gt; &quot;value&quot;
irb(main):003:0&gt; s = p[&quot;test&quot;]
=&gt; &quot;value&quot;
irb(main):004:0&gt; double = [1,2,3,4,5].map {&#124;num&#124; num * 2}
=&gt; [2, 4, 6, 8, 10]
irb(main):005:0&gt;

If you prefer Smalltalk method names:

irb(main):001:0&gt; double = [1,2,3,4,5].collect {&#124;num&#124; num * 2}
=&gt; [2, 4, 6, 8, 10]

</description>
		<content:encoded><![CDATA[<p>&#8220;No need for type inference with strong dynamic untyped variables in Smalltalk.&#8221;</p>
<p>No need for them in Ruby or Groovy either though. I think Dion is saying he wants Groovy to be groovier. Ruby is more dynamic than Groovy &#8211; you can add methods to existing classes, or subclass an individual instance. Maybe that would be a good start.</p>
<p>irb(main):001:0> p = {}<br />
=> {}<br />
irb(main):002:0> p["test"] = &#8220;value&#8221;<br />
=> &#8220;value&#8221;<br />
irb(main):003:0> s = p["test"]<br />
=> &#8220;value&#8221;<br />
irb(main):004:0> double = [1,2,3,4,5].map {|num| num * 2}<br />
=> [2, 4, 6, 8, 10]<br />
irb(main):005:0></p>
<p>If you prefer Smalltalk method names:</p>
<p>irb(main):001:0> double = [1,2,3,4,5].collect {|num| num * 2}<br />
=> [2, 4, 6, 8, 10]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Johnson</title>
		<link>http://almaer.com/blog/re-java-50-goes-the-wrong-way-groovy-goes-too-far/comment-page-1#comment-9103</link>
		<dc:creator>Mark Johnson</dc:creator>
		<pubDate>Tue, 05 Oct 2004 06:25:52 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog2/re-java-50-goes-the-wrong-way-groovy-goes-too-far#comment-9103</guid>
		<description>What you are asking for already exists. Just not in Java. You&#039;ve mentioned Smalltalk in your post already though, so there is no point in me mentioning it a second time.
</description>
		<content:encoded><![CDATA[<p>What you are asking for already exists. Just not in Java. You&#8217;ve mentioned Smalltalk in your post already though, so there is no point in me mentioning it a second time.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
