aspose file tools*
The moose likes Java in General and the fly likes NICE = java++ ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "NICE = java++ ?" Watch "NICE = java++ ?" New topic
Author

NICE = java++ ?

carl marais
Greenhorn

Joined: Aug 18, 2001
Posts: 18
Anyone had a look at nice http://nice.sourceforge.net . Its a new language which ultimately compiles to java class files.
Its very similar to java but adds a few features which almost every java programmer will have desired such as defaults for method calls. No more writing 10 different constructors. It also tries to prevent common errors such as null pointers and gets rid of casting all together. It also seems to get rid of wrapping and unwrapping primatives when you store them in collections. Its got parameterised classes which might reduce the amount of code you need to wright in certain places and mutimethods which allow you to write more flexible code with fewer case statements or worse if elses.

It sounds quite interesting particularly for people developing ejbs and so on where solving common errors like null pointer exceptions and so on can take forever as the information you recieve in the client gets so garbled by the client.
It is able to call java classes from within but I dont think java can call Nice because of the Parameterised classes
Interested to see what people think about the language and if something like this would ever manage to acquire part of the java market.
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

its an interesting idea -- I'd never seen Nice before -- I'll have to read into it some more to see what I really think about it though....
David Weitzman
Ranch Hand

Joined: Jul 27, 2001
Posts: 1365
It looks pretty interesting. I'll have to download and try it out.
Reuben Cleetus
Ranch Hand

Joined: Jul 13, 2001
Posts: 50
Very interesting. Thanks for the link! I'd love to take a look at this 'nice' programming language. What's really intriguing is that it promises to compile to Java Bytecode, which can be run with any 1.2 or later JVM.
Cool.. Or should I say, Nice.
Reuben.
Sayed Ibrahim Hashimi
Ranch Hand

Joined: May 17, 2001
Posts: 148
As a side note I heard that parameterised classes will be supported in SDK 1.5 whenever that comes out


SCJP 1.4<br /><a href="http://www.cise.ufl.edu/~sih" target="_blank" rel="nofollow">www.cise.ufl.edu/~sih</a>
Abdullah Javid
Greenhorn

Joined: Jan 06, 2002
Posts: 12
Great news man. I will like you and other men to keep us informed about that new and interesting news.
Abdullah.
carl marais
Greenhorn

Joined: Aug 18, 2001
Posts: 18
Actually Nice is not the only language to compile to java bytecodes. There is also Jython a hybrid scripting language somewhere between java and python. I use it in interactive mode to check parts of the jdk libraries while i am coding as it compiles on the fly in that mode. Jython actually looks a good way to do GUIs
Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

Carl,
What do you mean by this statement?
I use it in interactive mode to check parts of the jdk libraries while i am coding as it compiles on the fly in that mode.
What exactly are you checking?

thanks,
Barry
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NICE = java++ ?