February 06, 2003
Java 1.5 features

An interesting set of stuff:

It looks like Java is reacting to the competition!

Of course, type-safe enumerations in Java are already pretty easy once you know how to do them, but it isn't obvious.

Via SlashDot.

Posted to Java by Simon Brunning at February 06, 2003 05:17 PM
Comments

I don't understand the foreach argument. I would favor foreach over for( e : a) I would be more in line with other programming languages plus Java gets joined by new programmers every day, so keywords come lately does not apply to them.

Posted by: Jan on May 7, 2003 08:34 AM

It looks quite cool. And they say that M$ is good for nothing. Well at least they're keeping Sun on their toes.

The for loop looks foreign but I see the advantage. I just am not looking forward to any code revamping on any past projects.

Posted by: A on May 24, 2003 08:50 AM

I don't know about anyone else, but I'd trade ALL of the new feature list in exchange for ONE GOOD DATE-HANDLING package in java. Good god, this has been a problem for years and years and NO-ONE has really addressed it. Embarassing...

Posted by: Jason on June 18, 2003 05:40 AM

Please can you tell me when Java 1.5 is due to release.

Also, I welcome any thought on a book that covers Java methods for finance and investment. Do you think this sounds a good mix? I'm trying to establish approx. market size.

Thanks,
Sally

Posted by: sally on August 19, 2003 02:26 PM

I totally agree, the syntax of the foreach statement is totally alien, I dunno what Sun's engineers were smoking when they thought that one up. In fact (IMHO) because of it's lack of consistency with the rest of the Java language i'd consider it a step backwards! I can't see why they're touting such a cryptic statement as making the language easier for beginers

Posted by: HexJam on May 7, 2004 01:56 PM

I find it very useful as i easily get to know new features of latest release of Java 1.5...

Posted by: NagaRaju V on February 22, 2005 06:52 AM

thanks

Posted by: tam mccormick on April 6, 2005 02:08 PM

Amen to the Date post! This is one the most commonly mungled pieces I come across... Stupid to use the gregorian calendar, etc. How about something like :
Date d = new Date( );
d.printShortFormat()

or something with some predefined constants:
d.print(Date.ShortFormat)
d.print(Date.MediumFormat)

Posted by: Bob on October 5, 2005 05:55 AM

Hello! Good site!

Thank you!

Posted by: wholesale on December 4, 2007 06:06 PM

Hello! Good site!

Thank you!

Posted by: young money on December 4, 2007 06:23 PM

Hello! Good site!

Thank you!

Posted by: young money on December 4, 2007 06:23 PM

I dont understand serialization,cohesion,coupling
in java

Posted by: darshana on September 17, 2008 05:56 AM
Post a comment
Name:


Email Address:


URL:



Comments:


Remember info?