The Artima Developer Community
Sponsored Link

Java Buzz Forum
Varargs: Java is finally giving some conveniences

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
Varargs: Java is finally giving some conveniences Posted: Aug 6, 2004 7:45 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: Varargs: Java is finally giving some conveniences
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement
Brett McLaughlin and David Flanagan are working on Java 1.5 Tiger developers notebook. They have offered up chapter 5, which is on the new varargs support. As well as explaining the simple behind the scenes (e.g. the compiler makes String... == String[]), they also show you some of the work arounds. Although varargs can be nice (especially for methods such as the new sprintf("...", ...)) I do sometimes wish that we would have more innovative items to be excited about. In the past Sun was all about telling us that "you don't NEED that" for various features, and now (thanks to C#) we are getting them. I liked being able to have @_ in Perl to take in anything... and often had the input come in as a hash, which would enable a kinda named parameters: ageCheck(name => 'Bob', age => '30'); I always liked multiple lvalue's too: ($x, $y) = ($y, $x); Thanks for the new features, now lets get on to some really cool stuff in JDK 1.6 or whatever it will be numbered.

Read: Varargs: Java is finally giving some conveniences

Topic: [Jul 28, 2004 15:39 PDT] 3 Links Previous Topic   Next Topic Topic: New Reality TV?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use