<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebProNews &#187; Java 5</title>
	<atom:link href="http://www.webpronews.com/tag/java-5/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webpronews.com</link>
	<description>Breaking News in Tech, Search, Social, &#38; Business</description>
	<lastBuildDate>Mon, 13 Feb 2012 01:44:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Java 5 Features Provoke Dissent</title>
		<link>http://www.webpronews.com/java-features-provoke-dissent-2006-09</link>
		<comments>http://www.webpronews.com/java-features-provoke-dissent-2006-09#comments</comments>
		<pubDate>Fri, 01 Sep 2006 21:51:02 +0000</pubDate>
		<dc:creator>WebProNews Staff</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java 5]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=31273</guid>
		<description><![CDATA[The release of Java 5 was widely hailed by Sun and through the tech world, but one programmer sees evidence of 'feature creep' posing problems for Java coders.
]]></description>
			<content:encoded><![CDATA[<p>The release of Java 5 was widely hailed by Sun and through the tech world, but one programmer sees evidence of &#8216;feature creep&#8217; posing problems for Java coders.</p>
<table width="128" border="0" align="right">
<tr>
<td width="122" height="62"><a href="http://www.webproworld.com/viewtopic.php?p=321797"><img src="http://images.ientrymail.com/CommentImage-4.gif" width="130" height="60" border="0"></a></td>
</tr>
</table>
<p>Shai Almog has a list of Java 5 features that caused him to <a href=http://www.jroller.com/page/vprise?entry=java_5_language_changes_were class=bluelink>declare</a> the changes made to the language are something of a failure.</p>
<p>In his blog post about the Java 5 language, Almog discussed features and the issues they can pose to the diligent programmer. He has received some pushback from posters at the <a href=http://www.javalobby.org/ class=bluelink>JavaLobby</a> forums over his assessment that features add complexity:</p>
<p><i>
<div style=margin-left:10px; margin-right:10px>This complexity might be small but added up to the rest of the language features that you need to juggle in your mind and additional syntax you need to recognize&#8230; They all add some complexity.</div>
<p></i><br />
He stated several points that drew criticism from other Java coders, going so far as to (humorously, we hope) call him a COBOL programmer. From Almog&#8217;s list:</p>
<ol>
<li>Generics &#8211; bad implementation that does not maintain type safety, exact same thing as a cast, odd syntax for polymorphism, introduced warnings instead of errors, redundant.</p>
<li>Enums &#8211; Enums were denied from the original Java programming language because they are unnecessary and encourage bad code in many cases. There is one use case where Enum&#8217;s have an advantage over other object oriented solutions and that is in embedded systems where the class size matters.
<li>Static imports &#8211; breaks encapsulation and forces people to search in yet another place for every unidentified value within a class. No real purpose other than verbosity.
<li>New for loop &#8211; again syntax sugar for something that could be done for the regular loop.
<li>Autoboxing &#8211; a huge source for bugs and essentially hides what is happening under the hood. People might expect primitive speeds and be surprised when they get 20x times the speed with a plain array.</ol>
<p>Annotations did find favor with Almog, who wrote, &#8220;Annotations are the only Java 5 feature to produce REAL value!&#8221;</p>
<p>Within the various responses to his post, Almog cited the reason for posting about these issues again:</p>
<p><i>
<div style=margin-left:10px; margin-right:10px>I&#8217;m afraid that people assuming that Java 5 is a great success would want this carried on for every pet feature they want pushed into Java.</div>
<p></i><br />
One person who disagreed pointed out that the changes in Java 5 have made the code cleaner, and that Java needs these changes to remain relevant to programmers. Another considered Almog&#8217;s points as straw-man arguments, stated as absolutes when they are actually grey areas in Java 5.</p>
<p>&#8212;<br />
Tag: </p>
<p>Add to <a href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&#038;partner=wpn&#038;noui&#038;jump=close&#038;url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title),'delicious','toolbar=no,width=700,height=400'); return false;" CLASS="printMailTop"><img src=http://images1.ientrymail.com/webpronews/delicious-pic.png border=0> Del.icio.us</a> | <a href="javascript:void window.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window.location.href)+'&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)"><img src=http://images1.ientrymail.com/webpronews/digg-pic.png border=0> Digg</a>  | <a href="javascript:void window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&#038;u='+encodeURIComponent(window.location.href)+'&#038;tag=Java 5','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)"><img src=http://images1.ientrymail.com/webpronews/yahoo-pic.png border=0> Yahoo! My Web</a> | <a href="javascript:location.href='http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(document.location.href)+'&#038;t='+encodeURIComponent(document.title)+' '"><img src=http://images1.ientrymail.com/webpronews/furl-pic.png border=0> Furl</a></p>
<p>Bookmark WebProNews: <a href=http://www.webpronews.com><img src=http://images.ientrymail.com/webpronews/wpn-readit.jpg border=0></a> </p>
<p><script language=JavaScript src="http://aj.600z.com/aj/1095/0/vj?z=1&#038;dim=1088&#038;pos=15"></script></p>
<p>David Utter is a staff writer for WebProNews covering technology and business. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/java-features-provoke-dissent-2006-09/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 1/11 queries in 0.004 seconds using memcached
Object Caching 187/206 objects using memcached

Served from: webpronews.com @ 2012-02-12 20:44:41 -->
