Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NICE = java++ ?

 
carl marais
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks pretty interesting. I'll have to download and try it out.
 
Reuben Cleetus
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As a side note I heard that parameterised classes will be supported in SDK 1.5 whenever that comes out
 
Abdullah Javid
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great news man. I will like you and other men to keep us informed about that new and interesting news.
Abdullah.
 
carl marais
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 528
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic