Slashdot Mirror


Preview of Java 1.5

gafter writes "An early access prototype implementation of the proposed new J2SE 1.5 language features is available. The prototype includes generics (JSR 14), typesafe enums, varargs, autoboxing, foreach loops, and static import (JSR 201). In other words, all the new language features planned for 1.5 except metadata (JSR 175). The prototype includes full sources for the compiler, written in the extended language. You can download the prototype from java.sun.com. It requires J2SE 1.4.1 and provides some examples of how to use the new language constructs. The prototype includes an experimental type system (variant type parameters) for Generic Java that is being considered for Tiger (1.5) based on a paper by Igarashi and Viroli at ECOOP 2002 . Comments and votes for the new type system are being gathered at bugParade."

6 of 461 comments (clear)

  1. No subject. by Daleks · · Score: 5, Funny

    ! But, . And finally, .

    Just had to get that trolling out of the way. Now let the educated and well-formulated arguments begin.

  2. Re:good and bad ...? by IO+ERROR · · Score: 4, Funny
    varargs? Why?


    Because no language is complete without printf.


    Anyway, I'm glad to see Java finally getting generics. This will make it a little easier to manage very large projects in Java. The only problem I see is that generic java usually sucks compared to the brand-name stuff (e.g. Lavazza).

    --
    How am I supposed to fit a pithy, relevant quote into 120 characters?
  3. Good ol days by ausgnome · · Score: 3, Funny

    Oh for the good ol days when pascal was the teaching language

    --

    I had a pet once
  4. Oh no! by Julian+Morrison · · Score: 3, Funny

    A language which tons of people use for real apps and business critical stuff might become slightly less useful for academia! Panic, panic!

    Er. Or, not.

    Teach basics in python, algorithms in ocaml, bit-grinding in C.

  5. Re:All the features of C++ by primus_sucks · · Score: 3, Funny

    I like assembler. I don't want some stupid compiler getting between me and the machine.

  6. Re:Loops and iterators. by bkocik · · Score: 2, Funny
    Personally I don't like for loops with Iterators, it just seems not quite right (I think it's a hang-over from my days as a Pascal programmer).

    I think you meant hold-over. But since you were talking about Pascal, maybe hangover is a bit more appropriate. ;)