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 PMI 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 AMIt 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 AMI 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 AMPlease 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
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 PMI 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 AMthanks
Posted by: tam mccormick on April 6, 2005 02:08 PMAmen 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)
I dont understand serialization,cohesion,coupling
in java
very nice post thanks!!!
Posted by: Blue Eyes on June 29, 2009 05:56 AM