Ask HN: Why and how is Lisp better?
Disclaimer: I have not looked much at Lisp previously and in light of the potential ITA Software acquisition, I was curious about why Lisp is liked and for what domains of problems it is useful for. ITA's QPX is held as a common example but in some quick searching, I see no article showing why it was a preferable language to code in as opposed to some other higher-level language.
11 comments
[ 4.1 ms ] story [ 51.7 ms ] threadPS: I know asking a question like this may cause some emotional responses but I am genuinely interested in use cases for Lisp. Thanks in advance.
When you throw in the power something like Clojure gives you, with lisp style syntax and macros but access to all the libraries on the JVM (including Jetty/Hadoop/etc) you can accomplish a lot.
http://itasoftware.com/careers/l_e_t_lisp.html?catid=8
and on a more general level Marvin Minsky wrote an excellent paper:
http://danreetz.com/ongoing_oversight_and_observation/minsky....
Personally, I prefer to 'prototype' things in Python. And I'm not alone. E.g. Peter Norvig is one of the top Lisperati and he has defected to Python.
I think one of the design goals for Arc was to make a Lisp that's maximally attractive for prototyping. Of course, whether or not it has succeeded in achieving this goal is controversial.
This is just off the top of my head, I've surely omitted much. If you want to know more:
Arc Forum - http://arclanguage.org/forum
Tutorial - http://ycombinator.com/arc/tut.txt
Install guide - http://arclanguage.org/install
Unofficial documentation - http://files.arcfn.com/foundation-doc.html
The best way to see lisp is as a programming language which allows you to quickly build a context specific language to solve the desired problem. It is great for parsing data, prototyping, doing data driven design (since lisp code is data).
It is also one of the more efficient high level language and so is suitable for almost any task. The only reason not to use it is if you don't like parentheses. I recommend you give it a try, it's a lot of fun. Try reading SICP (the wizard book) and using Dr. Scheme for a nice start.
Cheers
Also, Lisp has been used in many A.I applications, natural language processing, and of course, I believe this little company called Viaweb (founded by one of the HN users, pg, I think ;-) used lisp to their competitive advantage.