<?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: New language features in Java 7</title>
	<atom:link href="http://code.joejag.com/2009/new-language-features-in-java-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://code.joejag.com/2009/new-language-features-in-java-7/</link>
	<description>Joe Wright&#039;s technology blog</description>
	<lastBuildDate>Wed, 19 May 2010 16:41:56 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Joe Wright</title>
		<link>http://code.joejag.com/2009/new-language-features-in-java-7/comment-page-2/#comment-192</link>
		<dc:creator>Joe Wright</dc:creator>
		<pubDate>Wed, 19 May 2010 16:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://code.joejag.com/?p=299#comment-192</guid>
		<description>@Bruce

Check out Project Lombok.  That solves the getters/setters equals/hashcode problem using annotations at compile time.  It&#039;s a lovely piece of kit.</description>
		<content:encoded><![CDATA[<p>@Bruce</p>
<p>Check out Project Lombok.  That solves the getters/setters equals/hashcode problem using annotations at compile time.  It&#8217;s a lovely piece of kit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce</title>
		<link>http://code.joejag.com/2009/new-language-features-in-java-7/comment-page-2/#comment-191</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Wed, 19 May 2010 15:42:55 +0000</pubDate>
		<guid isPermaLink="false">http://code.joejag.com/?p=299#comment-191</guid>
		<description>If the serialization is a concern in such case then I think such code smells a little. Although it was just an example of how to minimize the efforts in most cases.

As for the making common things easier it would be wise to put efforts on making class properties so it would automatically generate getters and setters. Or to provide build-in hash, equals and to-string builders (or even include all commons-lang). I&#039;m also looking for easier ways to construct decorators and proxies so I could only implement methods I&#039;m interested in and making other methods behave as a decorated/proxied class.

I&#039;m looking for more compatibility with JavaFX technology so I could bind to existing java beans.

Don&#039;t get me wrong, I&#039;m not against these changes, I&#039;m against putting them in favor of much more important things...

There is a good phrase, in my native language, from the old times - &quot;&#039;better&#039; is an enemy of &#039;good&#039;&quot;. And I think the existing java syntax is good enough.</description>
		<content:encoded><![CDATA[<p>If the serialization is a concern in such case then I think such code smells a little. Although it was just an example of how to minimize the efforts in most cases.</p>
<p>As for the making common things easier it would be wise to put efforts on making class properties so it would automatically generate getters and setters. Or to provide build-in hash, equals and to-string builders (or even include all commons-lang). I&#8217;m also looking for easier ways to construct decorators and proxies so I could only implement methods I&#8217;m interested in and making other methods behave as a decorated/proxied class.</p>
<p>I&#8217;m looking for more compatibility with JavaFX technology so I could bind to existing java beans.</p>
<p>Don&#8217;t get me wrong, I&#8217;m not against these changes, I&#8217;m against putting them in favor of much more important things&#8230;</p>
<p>There is a good phrase, in my native language, from the old times &#8211; &#8220;&#8216;better&#8217; is an enemy of &#8216;good&#8217;&#8221;. And I think the existing java syntax is good enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammad Ghazali</title>
		<link>http://code.joejag.com/2009/new-language-features-in-java-7/comment-page-2/#comment-189</link>
		<dc:creator>Muhammad Ghazali</dc:creator>
		<pubDate>Mon, 12 Apr 2010 09:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://code.joejag.com/?p=299#comment-189</guid>
		<description>I&#039;m not quite sure about &quot;Underscores in numeric literals&quot; will be useful to anybody. What do you think about this?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not quite sure about &#8220;Underscores in numeric literals&#8221; will be useful to anybody. What do you think about this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roberto Ruiz</title>
		<link>http://code.joejag.com/2009/new-language-features-in-java-7/comment-page-2/#comment-185</link>
		<dc:creator>Roberto Ruiz</dc:creator>
		<pubDate>Wed, 30 Dec 2009 15:29:15 +0000</pubDate>
		<guid isPermaLink="false">http://code.joejag.com/?p=299#comment-185</guid>
		<description>Collections created with the new language sintax will be inmutable?  Why? :(

I understand those new collections will be useful whenever I can&#039;t use an array, but ... the main advantage of lists against arrays, is that lists can be modified and more important: List can grow. Without the possibility of mutating collections, language support for collections is a very uncomplete feature.</description>
		<content:encoded><![CDATA[<p>Collections created with the new language sintax will be inmutable?  Why? <img src='http://code.joejag.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>I understand those new collections will be useful whenever I can&#8217;t use an array, but &#8230; the main advantage of lists against arrays, is that lists can be modified and more important: List can grow. Without the possibility of mutating collections, language support for collections is a very uncomplete feature.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin McDonagh</title>
		<link>http://code.joejag.com/2009/new-language-features-in-java-7/comment-page-2/#comment-179</link>
		<dc:creator>Kevin McDonagh</dc:creator>
		<pubDate>Sun, 13 Dec 2009 12:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://code.joejag.com/?p=299#comment-179</guid>
		<description>Great rundown. Strings in switches seems so long in coming.</description>
		<content:encoded><![CDATA[<p>Great rundown. Strings in switches seems so long in coming.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Wright</title>
		<link>http://code.joejag.com/2009/new-language-features-in-java-7/comment-page-2/#comment-167</link>
		<dc:creator>Joe Wright</dc:creator>
		<pubDate>Sat, 05 Dec 2009 10:28:07 +0000</pubDate>
		<guid isPermaLink="false">http://code.joejag.com/?p=299#comment-167</guid>
		<description>@IvanoBulo

Thanks for returning to comment. I liked the Voltaire quote too :)

Serialization is often used in mutli-tiered apps.  If you use an XML convertor it would also need to have the custom Hash on both sides too.

http://projectlombok.org/

You might like Project Lombok.  Putting a @Data annotation above the class automatically makes properties/equals/hashcode/constructor/toString at compile time.  Only problem for me is that it only has Eclipse IDE support, no IntelliJ.
</description>
		<content:encoded><![CDATA[<p>@IvanoBulo</p>
<p>Thanks for returning to comment. I liked the Voltaire quote too <img src='http://code.joejag.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Serialization is often used in mutli-tiered apps.  If you use an XML convertor it would also need to have the custom Hash on both sides too.</p>
<p><a href="http://projectlombok.org/" rel="nofollow">http://projectlombok.org/</a></p>
<p>You might like Project Lombok.  Putting a @Data annotation above the class automatically makes properties/equals/hashcode/constructor/toString at compile time.  Only problem for me is that it only has Eclipse IDE support, no IntelliJ.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IvanoBulo</title>
		<link>http://code.joejag.com/2009/new-language-features-in-java-7/comment-page-2/#comment-166</link>
		<dc:creator>IvanoBulo</dc:creator>
		<pubDate>Sat, 05 Dec 2009 09:56:30 +0000</pubDate>
		<guid isPermaLink="false">http://code.joejag.com/?p=299#comment-166</guid>
		<description>If the serialization is a concern in such case then I think such code smells a little. Although it was just an example of how to minimize the efforts in most cases.

As for the making common things easier it would be wise to put efforts on making class properties so it would automatically generate getters and setters. Or to provide build-in hash, equals and to-string builders (or even include all commons-lang). I&#039;m also looking for easier ways to construct decorators and proxies so I could only implement methods I&#039;m interested in and making other methods behave as a decorated/proxied class.

I&#039;m looking for more compatibility with JavaFX technology so I could bind to existing java beans.

Don&#039;t get me wrong, I&#039;m not against these changes, I&#039;m against putting them in favor of much more important things...

There is a good phrase, in my native language, from the old times - &quot;&#039;better&#039; is an enemy of &#039;good&#039;&quot;. And I think the existing java syntax is good enough.</description>
		<content:encoded><![CDATA[<p>If the serialization is a concern in such case then I think such code smells a little. Although it was just an example of how to minimize the efforts in most cases.</p>
<p>As for the making common things easier it would be wise to put efforts on making class properties so it would automatically generate getters and setters. Or to provide build-in hash, equals and to-string builders (or even include all commons-lang). I&#8217;m also looking for easier ways to construct decorators and proxies so I could only implement methods I&#8217;m interested in and making other methods behave as a decorated/proxied class.</p>
<p>I&#8217;m looking for more compatibility with JavaFX technology so I could bind to existing java beans.</p>
<p>Don&#8217;t get me wrong, I&#8217;m not against these changes, I&#8217;m against putting them in favor of much more important things&#8230;</p>
<p>There is a good phrase, in my native language, from the old times &#8211; &#8220;&#8216;better&#8217; is an enemy of &#8216;good&#8217;&#8221;. And I think the existing java syntax is good enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Wright</title>
		<link>http://code.joejag.com/2009/new-language-features-in-java-7/comment-page-2/#comment-165</link>
		<dc:creator>Joe Wright</dc:creator>
		<pubDate>Fri, 04 Dec 2009 22:29:29 +0000</pubDate>
		<guid isPermaLink="false">http://code.joejag.com/?p=299#comment-165</guid>
		<description>@IvanoBulo

These language features allow for making common thing easier.  Your map example does not work if serialization is a concern.

There are no new keyword in Java 7.  Not sure why you think &#039;try&#039; is new.

Java is a workman&#039;s language.  Expressing the intent of code while still having the feel on Java is a good ideal.</description>
		<content:encoded><![CDATA[<p>@IvanoBulo</p>
<p>These language features allow for making common thing easier.  Your map example does not work if serialization is a concern.</p>
<p>There are no new keyword in Java 7.  Not sure why you think &#8216;try&#8217; is new.</p>
<p>Java is a workman&#8217;s language.  Expressing the intent of code while still having the feel on Java is a good ideal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IvanoBulo</title>
		<link>http://code.joejag.com/2009/new-language-features-in-java-7/comment-page-2/#comment-164</link>
		<dc:creator>IvanoBulo</dc:creator>
		<pubDate>Fri, 04 Dec 2009 19:44:20 +0000</pubDate>
		<guid isPermaLink="false">http://code.joejag.com/?p=299#comment-164</guid>
		<description>list and set syntax sugar and I don&#039;t like it. you can always use:

List l = Arrays.asList(...);
Set s = new Set(Arrays.asList(...));
Map m = new Map() {{
put(&quot;key1&quot;, 1);
put(&quot;key2&quot;, 2);
}};

IDE can help if you still think it is too explicit. Just define few live templates.

Don&#039;t like the new &quot;try&quot; statement. Why they couldn&#039;t introduce some new keyword? Looks really weird...

Making such changes is just a waste of time to satisfy noobs and dynamic language evangelists.</description>
		<content:encoded><![CDATA[<p>list and set syntax sugar and I don&#8217;t like it. you can always use:</p>
<p>List l = Arrays.asList(&#8230;);<br />
Set s = new Set(Arrays.asList(&#8230;));<br />
Map m = new Map() {{<br />
put(&#8221;key1&#8243;, 1);<br />
put(&#8221;key2&#8243;, 2);<br />
}};</p>
<p>IDE can help if you still think it is too explicit. Just define few live templates.</p>
<p>Don&#8217;t like the new &#8220;try&#8221; statement. Why they couldn&#8217;t introduce some new keyword? Looks really weird&#8230;</p>
<p>Making such changes is just a waste of time to satisfy noobs and dynamic language evangelists.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://code.joejag.com/2009/new-language-features-in-java-7/comment-page-2/#comment-160</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Fri, 04 Dec 2009 06:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://code.joejag.com/?p=299#comment-160</guid>
		<description>I wonder when this will change on AP (College Board).

Really interesting. :)</description>
		<content:encoded><![CDATA[<p>I wonder when this will change on AP (College Board).</p>
<p>Really interesting. <img src='http://code.joejag.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
