November 12, 2002
J*

James Strachan is putting together a wish-list for a fictional Java pre-processor.

Generics & properties would be cool. Foreach would be just like Python's for, and everyone who is anyone knows how cool that is.

Better to roll these changes into Java proper than to use a preprocessor, though. How does one propose changes to Java? JSRs, I think.

Posted to Java by Simon Brunning at November 12, 2002 04:57 PM
Comments

JSRs seem to take forever. Also if we went the JSR route we'd have to wait for complete industry buy-in and JDK1.6 which could well be 3 years away.

At least if we created a new macro-preprocessor language (like how C++ started) then we'd be able to use it today, on any JVM we like.

Once people start using it and we get feedback then I'm sure we could try to submit a new JSR

Posted by: James Strachan on November 12, 2002 06:37 PM

I suppose that I'm used to Python and its PEPs. Things happen in the Python world - one of my feature requests is going into Python 2.3 - see http://www.python.org/dev/doc/devel/whatsnew/node12.html .

Posted by: Simon Brunning on November 26, 2002 01:21 PM

One other issue here - adding Ant support might be trivial, but I suspect that adding support to Eclipse, IDEA, or your IDE of choice might be a little more tricky.

Posted by: Simon Brunning on November 26, 2002 03:47 PM
Post a comment
Name:


Email Address:


URL:



Comments:


Remember info?