<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - Five favorite features in Java 5</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Sat, 25 May 2013 23:11:15 -0400</pubDate>


    <item>

        <title>Five favorite features in Java 5</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[Have to say, mine are the one that did not make it in. Like pointers and direct memory manipulation. <br><br>Other than that they managed to give us a lot of the stuff I came to detest in C++ plus a number of yet more unnecessary syntax sugar, including...]]></description>
        

        <pubDate>Fri, 29 Apr 2005 03:29:01 -0400</pubDate>

        

        <jf:creationDate>Fri, 29 Apr 2005 03:29:01 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 29 Apr 2005 03:29:01 -0400</jf:modificationDate>
        <jf:date>Apr 29, 2005</jf:date>
        <jf:author>Karl Banke</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Five favorite features in Java 5</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[<blockquote>Interesting thanks. I must admit the Hex floating point literals are rather fun, a bit like the good ol'days with C on IEEE floating point stuff. Not exactly the best part of Java but curious all the same. I think my favourite new feature in...]]></description>
        

        <pubDate>Tue, 26 Apr 2005 17:03:46 -0400</pubDate>

        

        <jf:creationDate>Tue, 26 Apr 2005 17:03:46 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 26 Apr 2005 17:03:46 -0400</jf:modificationDate>
        <jf:date>Apr 26, 2005</jf:date>
        <jf:author>Jason Carreira</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Visitors</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[I agree that visitors are a pattern that should be used only when really needed.  Don't fit your code to use a pattern.  Use the pattern to achieve your goal.<br>And it's rather easy to have a very generic visitor interface, which happens to evaluate...]]></description>
        

        <pubDate>Mon, 25 Apr 2005 17:29:08 -0400</pubDate>

        

        <jf:creationDate>Mon, 25 Apr 2005 17:29:08 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 25 Apr 2005 17:29:08 -0400</jf:modificationDate>
        <jf:date>Apr 25, 2005</jf:date>
        <jf:author>Matthew Inger</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re:  InputStream</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[While true, this is why the added the compile flag &quot;-version&quot; such as to avoid the enum dilemma.]]></description>
        

        <pubDate>Mon, 25 Apr 2005 16:34:33 -0400</pubDate>

        

        <jf:creationDate>Mon, 25 Apr 2005 16:34:33 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 25 Apr 2005 16:34:33 -0400</jf:modificationDate>
        <jf:date>Apr 25, 2005</jf:date>
        <jf:author>Raymond Kroeker</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>It is definitely not the generics</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[Sorry to become off topic, but the generics are in my optionion after having worked with 1.5 for several months now, the absolutely awful.<br>They make the code much more verbose than the old explicit casting, there is no speed improvement since all the...]]></description>
        

        <pubDate>Mon, 25 Apr 2005 16:01:56 -0400</pubDate>

        

        <jf:creationDate>Mon, 25 Apr 2005 16:01:56 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 25 Apr 2005 16:01:56 -0400</jf:modificationDate>
        <jf:date>Apr 25, 2005</jf:date>
        <jf:author>Werner Punz</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>nested loops</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[Aargh, copy-and-paste. For those of you without HTML parsers in your heads, the code blocks are:<br><br>for (Iterator iter = orders.iterator(); iter.hasNext(); ) {<br>&nbsp;&nbsp;Order o = iter.next();<br>&nbsp;&nbsp;for (Iterator iter2 =...]]></description>
        

        <pubDate>Mon, 25 Apr 2005 12:46:56 -0400</pubDate>

        

        <jf:creationDate>Mon, 25 Apr 2005 12:46:56 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 25 Apr 2005 12:46:56 -0400</jf:modificationDate>
        <jf:date>Apr 25, 2005</jf:date>
        <jf:author>Patrick Linskey</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>nested loops</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[IMO, the new for loop syntax really shines in nested loops. Compare:<br><br>for (Iterator iter = orders.iterator(); iter.hasNext(); ) {<br>&amp;nbsp;&amp;nbsp;Order o = iter.next();<br>&amp;nbsp;&amp;nbsp;for (Iterator iter2 = o.lineItems().iterator();...]]></description>
        

        <pubDate>Mon, 25 Apr 2005 12:09:54 -0400</pubDate>

        

        <jf:creationDate>Mon, 25 Apr 2005 12:09:54 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 25 Apr 2005 12:09:54 -0400</jf:modificationDate>
        <jf:date>Apr 25, 2005</jf:date>
        <jf:author>Patrick Linskey</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Dsiagree a little</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[<blockquote>Do you really believe that's a good example.  I mean, short of debug/test code, hwo often have you had to do that? </blockquote>Yes :-)<br><br>I just picked a random class from one of my projects and here are some of the loops I...]]></description>
        

        <pubDate>Mon, 25 Apr 2005 08:50:59 -0400</pubDate>

        

        <jf:creationDate>Mon, 25 Apr 2005 08:50:59 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 25 Apr 2005 08:50:59 -0400</jf:modificationDate>
        <jf:date>Apr 25, 2005</jf:date>
        <jf:author>Cedric Beust</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>InputStream</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[<blockquote>I hope you realize that if they had used &quot;in&quot; as keyword it would have meant that a massive amount of code would have to be rewritten. &quot;InputStream in=...&quot; is veeeery common.Same thing goes for &quot;enum&quot; though I...]]></description>
        

        <pubDate>Mon, 25 Apr 2005 07:46:03 -0400</pubDate>

        

        <jf:creationDate>Mon, 25 Apr 2005 07:46:03 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 25 Apr 2005 07:46:03 -0400</jf:modificationDate>
        <jf:date>Apr 25, 2005</jf:date>
        <jf:author>Daniel Dyer</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Dsiagree a little</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[<blockquote><blockquote>I prefer:&amp;amp;nbsp;&amp;amp;nbsp;things.visit(painter)</blockquote>Visitor is a sophisticated pattern that you should only use for sophisticated problems.How about enumerating an array of strings?  Visitors, iterators and even...]]></description>
        

        <pubDate>Mon, 25 Apr 2005 07:27:35 -0400</pubDate>

        

        <jf:creationDate>Mon, 25 Apr 2005 07:27:35 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 25 Apr 2005 07:27:35 -0400</jf:modificationDate>
        <jf:date>Apr 25, 2005</jf:date>
        <jf:author>Brian Sayatovic</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>InputStream</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[<blockquote>It would be even more cleaner if they allowed in keyword instead of a cryptic ':'.</blockquote>I hope you realize that if they had used &quot;in&quot; as keyword it would have meant that a massive amount of code would have to be rewritten....]]></description>
        

        <pubDate>Sat, 23 Apr 2005 05:48:09 -0400</pubDate>

        

        <jf:creationDate>Sat, 23 Apr 2005 05:48:09 -0400</jf:creationDate>
        <jf:modificationDate>Sat, 23 Apr 2005 05:48:09 -0400</jf:modificationDate>
        <jf:date>Apr 23, 2005</jf:date>
        <jf:author>Rickard Oberg</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Cleaner</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[<blockquote>for (String name : names) {<br>&amp;nbsp;&amp;nbsp;System.out.println(name);<br>}<br>It doesn't get any cleaner that this.</blockquote>It would be even more cleaner if they allowed in keyword instead of a cryptic ':'.]]></description>
        

        <pubDate>Sat, 23 Apr 2005 04:57:59 -0400</pubDate>

        

        <jf:creationDate>Sat, 23 Apr 2005 04:57:59 -0400</jf:creationDate>
        <jf:modificationDate>Sat, 23 Apr 2005 04:57:59 -0400</jf:modificationDate>
        <jf:date>Apr 23, 2005</jf:date>
        <jf:author>Trond Andersen</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>I can! I can!</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[<blockquote>Cedric wins on technical knock out. *gong*</blockquote>ADRIANNE!!!!]]></description>
        

        <pubDate>Sat, 23 Apr 2005 03:28:38 -0400</pubDate>

        

        <jf:creationDate>Sat, 23 Apr 2005 03:28:38 -0400</jf:creationDate>
        <jf:modificationDate>Sat, 23 Apr 2005 03:28:38 -0400</jf:modificationDate>
        <jf:date>Apr 23, 2005</jf:date>
        <jf:author>Cedric Beust</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>I can! I can!</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[<blockquote><blockquote>for (String name : names) {&amp;amp;nbsp;&amp;amp;nbsp;System.out.println(name);}...And here is a bonus question:  can you tell the type of &quot;names&quot; is in the code above? You can't!</blockquote>Why, it's a...]]></description>
        

        <pubDate>Sat, 23 Apr 2005 02:11:52 -0400</pubDate>

        

        <jf:creationDate>Sat, 23 Apr 2005 02:11:52 -0400</jf:creationDate>
        <jf:modificationDate>Sat, 23 Apr 2005 02:11:52 -0400</jf:modificationDate>
        <jf:date>Apr 23, 2005</jf:date>
        <jf:author>Rickard Oberg</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>I can! I can!</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=33466</link>

        

        
            <description><![CDATA[<blockquote>Why, it's a java.lang.Iterable, of course!</blockquote><br>How about:<br><br><br>String[] names = {&quot;x&quot;, &quot;y&quot;, &quot;z&quot;};<br>for (String name : names) {<br>&nbsp;&nbsp;&nbsp;System.out.println(name);<br>}<br>]]></description>
        

        <pubDate>Sat, 23 Apr 2005 01:25:48 -0400</pubDate>

        

        <jf:creationDate>Sat, 23 Apr 2005 01:25:48 -0400</jf:creationDate>
        <jf:modificationDate>Sat, 23 Apr 2005 01:25:48 -0400</jf:modificationDate>
        <jf:date>Apr 23, 2005</jf:date>
        <jf:author>Leon Smith</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>



</channel>
</rss>

