<?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: Syntactic Sugar in Groovy and Ruby</title>
	<atom:link href="http://naleid.com/blog/2008/05/27/syntactic-sugar-in-groovy-and-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://naleid.com/blog/2008/05/27/syntactic-sugar-in-groovy-and-ruby/</link>
	<description>Groovy, Grails and OS X tips and tricks</description>
	<lastBuildDate>Sat, 31 Jul 2010 11:43:17 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: tednaleid</title>
		<link>http://naleid.com/blog/2008/05/27/syntactic-sugar-in-groovy-and-ruby/comment-page-1/#comment-444</link>
		<dc:creator>tednaleid</dc:creator>
		<pubDate>Fri, 30 May 2008 05:00:04 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=24#comment-444</guid>
		<description>Awesome! Thanks for the posts guys.  It&#039;s great to hear that Groovy is taking even more of the useful features from Ruby than I realized. 

Sounds like just about all of the main things that I&#039;ve been missing from Ruby are coming over (or are at least being considered).

About the biggest thing left, would be some sort of .irbrc equivalent for the groovy shell, and I think I might be able to hack something like that together pretty quickly (and contribute it back if people on the groovy mailing list think it&#039;s useful).</description>
		<content:encoded><![CDATA[<p>Awesome! Thanks for the posts guys.  It&#8217;s great to hear that Groovy is taking even more of the useful features from Ruby than I realized. </p>
<p>Sounds like just about all of the main things that I&#8217;ve been missing from Ruby are coming over (or are at least being considered).</p>
<p>About the biggest thing left, would be some sort of .irbrc equivalent for the groovy shell, and I think I might be able to hack something like that together pretty quickly (and contribute it back if people on the groovy mailing list think it&#8217;s useful).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul King</title>
		<link>http://naleid.com/blog/2008/05/27/syntactic-sugar-in-groovy-and-ruby/comment-page-1/#comment-441</link>
		<dc:creator>Paul King</dc:creator>
		<pubDate>Thu, 29 May 2008 22:20:27 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=24#comment-441</guid>
		<description>These are available in 1.6:

[a, b] = [&quot;foo&quot;, &quot;bar&quot;]
assert a == &quot;foo&quot;

def array = [&quot;foo&quot;, &quot;bar&quot;, &quot;baz&quot;]
assert array[0] == &quot;foo&quot;
assert array.first() == &quot;foo&quot;
assert array.head() == &quot;foo&quot;
assert array[-1] == &quot;baz&quot;
assert array.last() == &quot;baz&quot;

Experimentally in 1.6 there is also a grapes equivalent to gems (not finalised yet) and an experimental block regular expression syntax (not finalised yet).</description>
		<content:encoded><![CDATA[<p>These are available in 1.6:</p>
<p>[a, b] = ["foo", "bar"]<br />
assert a == &#8220;foo&#8221;</p>
<p>def array = ["foo", "bar", "baz"]<br />
assert array[0] == &#8220;foo&#8221;<br />
assert array.first() == &#8220;foo&#8221;<br />
assert array.head() == &#8220;foo&#8221;<br />
assert array[-1] == &#8220;baz&#8221;<br />
assert array.last() == &#8220;baz&#8221;</p>
<p>Experimentally in 1.6 there is also a grapes equivalent to gems (not finalised yet) and an experimental block regular expression syntax (not finalised yet).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hamlet D'Arcy</title>
		<link>http://naleid.com/blog/2008/05/27/syntactic-sugar-in-groovy-and-ruby/comment-page-1/#comment-434</link>
		<dc:creator>Hamlet D'Arcy</dc:creator>
		<pubDate>Thu, 29 May 2008 18:40:31 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=24#comment-434</guid>
		<description>A recent version of Groovy (1.5.4?) added head() and tail() methods to java.util.List, which I find quite useful. On an empty list it does throw a NoSuchElementException though. first() and last() also exist in list, but I&#039;m not sure how recent those are. I&#039;m looking at the svn repo (org.codehaus.groovy.runtime.DefaultGroovyMethods.java)

After trying to fight w/ Ivy and Maven the last few days, I definitely feel the same envy for Ruby&#039;s gem system.</description>
		<content:encoded><![CDATA[<p>A recent version of Groovy (1.5.4?) added head() and tail() methods to java.util.List, which I find quite useful. On an empty list it does throw a NoSuchElementException though. first() and last() also exist in list, but I&#8217;m not sure how recent those are. I&#8217;m looking at the svn repo (org.codehaus.groovy.runtime.DefaultGroovyMethods.java)</p>
<p>After trying to fight w/ Ivy and Maven the last few days, I definitely feel the same envy for Ruby&#8217;s gem system.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dierk König</title>
		<link>http://naleid.com/blog/2008/05/27/syntactic-sugar-in-groovy-and-ruby/comment-page-1/#comment-429</link>
		<dc:creator>Dierk König</dc:creator>
		<pubDate>Thu, 29 May 2008 08:13:58 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=24#comment-429</guid>
		<description>Yes, Gregg attended my &quot;Groovy in a day&quot; event at DLW. It was great to have him there. I commented on his blog to clarify some of the misconceptions in the other comments. --Dierk</description>
		<content:encoded><![CDATA[<p>Yes, Gregg attended my &#8220;Groovy in a day&#8221; event at DLW. It was great to have him there. I commented on his blog to clarify some of the misconceptions in the other comments. &#8211;Dierk</p>
]]></content:encoded>
	</item>
</channel>
</rss>
