<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Unadulterated Java is so groovy</title>
	<link>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/</link>
	<description>Can you dig it man?</description>
	<pubDate>Sat, 17 May 2008 18:17:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Vassilios</title>
		<link>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-48313</link>
		<dc:creator>Vassilios</dc:creator>
		<pubDate>Mon, 10 Mar 2008 10:31:38 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-48313</guid>
		<description>The article covers using the Groovy written class in Java, to have a terser syntax. So in that sense they are directly comparable because the Groovy code is pretty much exactly equivalent to the Java code at the byte code level that only difference being the Groovy one will implement the GroovyObject interface.

In terms of the setters and getters they are however directly equivalent. And regardless as to whether people are forced to write getters/setters. Sun pretty much dictated this decision with the release of the JavaBean spec donkies years ago.</description>
		<content:encoded><![CDATA[<p>The article covers using the Groovy written class in Java, to have a terser syntax. So in that sense they are directly comparable because the Groovy code is pretty much exactly equivalent to the Java code at the byte code level that only difference being the Groovy one will implement the GroovyObject interface.</p>
<p>In terms of the setters and getters they are however directly equivalent. And regardless as to whether people are forced to write getters/setters. Sun pretty much dictated this decision with the release of the JavaBean spec donkies years ago.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vassilios Karakoidas</title>
		<link>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-48198</link>
		<dc:creator>Vassilios Karakoidas</dc:creator>
		<pubDate>Sun, 09 Mar 2008 15:37:45 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-48198</guid>
		<description>To be honest i would excpect the opposite :). Why bother generate the getGenre() method in bytecode if the end programmer will always use the property?

In Java also, noone is forcing anyone to write getters/settters. You can forget about them if you like :) And believe me, except the genre? the code will look exactly the same :)

public class Song {
 public String name
 public String genre
 public String artist

 public String getGenre() {
  if(genre != null) { return gerne; }
  
  return ""; // something ...
 }

My previous comment suggested that you dont have  strict OO concept in those languages (talking mostly from my python experience though).

It's fast and beautiful, i agree. But it has its limitations :). Serves its puprose though.

I dont think that are really comparable though :)</description>
		<content:encoded><![CDATA[<p>To be honest i would excpect the opposite :). Why bother generate the getGenre() method in bytecode if the end programmer will always use the property?</p>
<p>In Java also, noone is forcing anyone to write getters/settters. You can forget about them if you like <img src='http://thediscoblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> And believe me, except the genre? the code will look exactly the same <img src='http://thediscoblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>public class Song {<br />
 public String name<br />
 public String genre<br />
 public String artist</p>
<p> public String getGenre() {<br />
  if(genre != null) { return gerne; }</p>
<p>  return &#8220;&#8221;; // something &#8230;<br />
 }</p>
<p>My previous comment suggested that you dont have  strict OO concept in those languages (talking mostly from my python experience though).</p>
<p>It&#8217;s fast and beautiful, i agree. But it has its limitations :). Serves its puprose though.</p>
<p>I dont think that are really comparable though <img src='http://thediscoblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andres Almiray</title>
		<link>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-47983</link>
		<dc:creator>Andres Almiray</dc:creator>
		<pubDate>Sat, 08 Mar 2008 19:35:29 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-47983</guid>
		<description>Vassilios, even with the simplified syntax Groovy does generate getters/setters for each property (in byte code) which means that a call like Song().genre is in fact Song().getGenre() It looks like direct field access but it isn't, it is still property access.</description>
		<content:encoded><![CDATA[<p>Vassilios, even with the simplified syntax Groovy does generate getters/setters for each property (in byte code) which means that a call like Song().genre is in fact Song().getGenre() It looks like direct field access but it isn&#8217;t, it is still property access.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vassilios Karakoidas</title>
		<link>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-47930</link>
		<dc:creator>Vassilios Karakoidas</dc:creator>
		<pubDate>Sat, 08 Mar 2008 11:38:54 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-47930</guid>
		<description>In this example, the Java code has more lines i agree, but it describes more properties for the class, than the groovy example. 

For example, the private modifier in "genre" prohibits a developer that just uses the class to accidentally reference the content without using the getGenre ... right?

In the groovy counterpart i could just say Song().genre ... right? (i'm not a groovy expert though).

In addition, i think the example is not very indicative ... since it is easy to ommit and simplify things things in a getter/setter class.

My experience with dynamic languages (especially python and Perl) is that they have earned their place, but they cannot be used efficiently in large applications.</description>
		<content:encoded><![CDATA[<p>In this example, the Java code has more lines i agree, but it describes more properties for the class, than the groovy example. </p>
<p>For example, the private modifier in &#8220;genre&#8221; prohibits a developer that just uses the class to accidentally reference the content without using the getGenre &#8230; right?</p>
<p>In the groovy counterpart i could just say Song().genre &#8230; right? (i&#8217;m not a groovy expert though).</p>
<p>In addition, i think the example is not very indicative &#8230; since it is easy to ommit and simplify things things in a getter/setter class.</p>
<p>My experience with dynamic languages (especially python and Perl) is that they have earned their place, but they cannot be used efficiently in large applications.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Roddy</title>
		<link>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-47853</link>
		<dc:creator>Mark Roddy</dc:creator>
		<pubDate>Sat, 08 Mar 2008 03:10:00 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-47853</guid>
		<description>It seems like atleast once a week I hear about a new dynamic language that's going to make me work faster, get more done, and save us from the communist.  Its at the point that I ignore most of them.

I did the same with Groovy, until now.  This was great summary.  It reminds me of how everyone jumped on C++ at first because it was backwards compatible with C.</description>
		<content:encoded><![CDATA[<p>It seems like atleast once a week I hear about a new dynamic language that&#8217;s going to make me work faster, get more done, and save us from the communist.  Its at the point that I ignore most of them.</p>
<p>I did the same with Groovy, until now.  This was great summary.  It reminds me of how everyone jumped on C++ at first because it was backwards compatible with C.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-48192</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Sat, 08 Mar 2008 03:09:32 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-48192</guid>
		<description>Many thanks, Andrew-- it was a pleasure to see you at SD West!</description>
		<content:encoded><![CDATA[<p>Many thanks, Andrew&#8211; it was a pleasure to see you at SD West!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Binstock</title>
		<link>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-47847</link>
		<dc:creator>Andrew Binstock</dc:creator>
		<pubDate>Sat, 08 Mar 2008 02:33:39 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-47847</guid>
		<description>Andy is such a humble cat that he has yet to post anything about his big news. This week, the book he co-authored, Continuous Integration, won the Jolt Award for best technical book. That's like so way better than 8-track! Congrats, Andy. You're grooving!</description>
		<content:encoded><![CDATA[<p>Andy is such a humble cat that he has yet to post anything about his big news. This week, the book he co-authored, Continuous Integration, won the Jolt Award for best technical book. That&#8217;s like so way better than 8-track! Congrats, Andy. You&#8217;re grooving!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Disco Articles &#187; Blog Archive &#187; Unadulterated Java is so groovy</title>
		<link>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-47843</link>
		<dc:creator>Disco Articles &#187; Blog Archive &#187; Unadulterated Java is so groovy</dc:creator>
		<pubDate>Sat, 08 Mar 2008 01:46:53 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-47843</guid>
		<description>[...] Original post by Andy [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Original post by Andy [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andres Almiray</title>
		<link>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-47826</link>
		<dc:creator>Andres Almiray</dc:creator>
		<pubDate>Fri, 07 Mar 2008 22:55:58 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/03/07/unadulterated-java-is-so-groovy/#comment-47826</guid>
		<description>Wicked! we want more content like this!</description>
		<content:encoded><![CDATA[<p>Wicked! we want more content like this!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
