Insteresting challenge for us!
Posted: Thu Aug 13, 2009 10:07 am
Hello,
I'm a newLisp fan, but I even like Java language, so I always check new features, improvements, planned features, etc...
Today I found "lambdaJ", a java library to implement, in java, some features of functional languages...
Well, this is my challenge proposal:
Look at LambaJ home page: http://code.google.com/p/lambdaj/
There are some examples about this library. They show how easily can be implemented some jobs using it. For a java developer it seems really interesting.
Well, I want to rewrite those examples in newLisp, but they must be:
1) Light and clear. Our newLisp language must implement the proposed algorithms better (code more readable ) than the one implemented in java.
2) newLisp code must be basically equivalent to java code (as length) or even shorter.
My final target is demonstrating that a real functional language like newLisp is better than any "simulation" built inside an imperative one!!! :-)
I'm joking, but I think this is a good test to compare an imperative languaqe implementing some functional-like features, and a real functional language.
What's newLisp limitations? And java limitations?
Is the final code more clear and readable? Is it shorter? Is it faster? etc...
I'm a newLisp fan, but I even like Java language, so I always check new features, improvements, planned features, etc...
Today I found "lambdaJ", a java library to implement, in java, some features of functional languages...
Well, this is my challenge proposal:
Look at LambaJ home page: http://code.google.com/p/lambdaj/
There are some examples about this library. They show how easily can be implemented some jobs using it. For a java developer it seems really interesting.
Well, I want to rewrite those examples in newLisp, but they must be:
1) Light and clear. Our newLisp language must implement the proposed algorithms better (code more readable ) than the one implemented in java.
2) newLisp code must be basically equivalent to java code (as length) or even shorter.
My final target is demonstrating that a real functional language like newLisp is better than any "simulation" built inside an imperative one!!! :-)
I'm joking, but I think this is a good test to compare an imperative languaqe implementing some functional-like features, and a real functional language.
What's newLisp limitations? And java limitations?
Is the final code more clear and readable? Is it shorter? Is it faster? etc...