Hello, Have a look at Prechelt's famous paper, "An empirical comparison of seven programming languages". IEEE Computer 33(10):23-29, October 2000 at http://page.mi.fu-berlin.de/~prechelt/Biblio/ You can download pdf or ps version there.
The paper compares some attributes (run time, development time, length, memory consumption and etc) of 80 submitted programs for a phonecode problem, which the programmers from seven programming languages' users have written. It is very interesting to read. I suggest that you read the problem first from the paper mentioned above or from http://web.archive.org/web/20030204013211/alvin.jpl.nasa.gov/gat/ftp/study.txt before go to see some solutions from other programming language users[1]. [1] Peter Norvig's lisp version : http://www.norvig.com/java-lisp.html (2 hours and 45 lines) D version : http://www.digitalmars.com/d/lisp-java-d.html (1hour 15 mins and 55 lines) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
