Comments on Lisp
Posted: Wed May 09, 2007 11:27 pm
See: http://lispers.org/
I will go there and read as I am interested in Lisp, however, after downloading the mathematical language Haskell and reading all about it I am sold on it. It has most of the speed of c and as much expressive power of Lisp. The learning curve for Haskell is going to be very steep, maybe twice as steep as for Lisp. But, in the end I believe that it will be worth it!sje wrote:See: http://lispers.org/
APL has them all beat for potential brevity. Example: a chess program in three lines. (Didn't play very well, though.)Michael Sherwin wrote:You can do more with Haskell in one line of code than any other language that I have seen so far.
If you want power in a few statements, look at "APL". Blows everything else away.Michael Sherwin wrote:I will go there and read as I am interested in Lisp, however, after downloading the mathematical language Haskell and reading all about it I am sold on it. It has most of the speed of c and as much expressive power of Lisp. The learning curve for Haskell is going to be very steep, maybe twice as steep as for Lisp. But, in the end I believe that it will be worth it!sje wrote:See: http://lispers.org/
You can do more with Haskell in one line of code than any other language that I have seen so far. Haskell has no for loops or while statements and even the if statement seems limited to just returning one value or another. The syntax is pure mathematical and processes 'streams' (my term) of data that comes from a list or a function as needed. My understanding of Haskell is very limited and new, so some of what I have just written may be in error.
Mike
When I was working on my Ph.D., I infuriated one of the faculty I was working under when I glibly (an a seminar presentation) called LISP "A write-only language..."sje wrote:APL has them all beat for potential brevity. Example: a chess program in three lines. (Didn't play very well, though.)Michael Sherwin wrote:You can do more with Haskell in one line of code than any other language that I have seen so far.
On the referenced file, my favorite quote is "Lisp is like taking the red pill." But there are even better sayings, many with a Zen style:
"Lisp is like a ball of mud."
sje wrote:See: http://lispers.org/[/quote
Humorous and enjoyable - thanks for posting that.
My experiences with Lisp have been three-fold.
I took a class from its inventor John McCarthy at
Stanford and did enjoy it. He was mostly concerned
at the time (this was in the 70's-80's about programs
that could write programs. I remember his delivery
as a speaker being quite a bit different than normal
speakers.
Another class I took, that used Lisp heavily, was
Ed Feigenbaum's A.I. class at Stanford. A colleague
and I did a three-dimensional tic-tac-toe program,
which unfortunately I've lost the source to. Feigenbaum's
delivery as a speaker is tremendously inspirational.
The other Lisp-related activity I did was work with
my old boss when I was at Toshiba 20 years 15
years ago (we stil have lunch about 1-2x per year)
and designed 'SPR' a software-problem-reporting
system for the company using GNU Emacs Lisp.
That was a lot of fun. I really enjoy the linkage
in GNU Emacs and its embedded Lisp. The system
worked pretty well.
I find that Lisp encourages me to think at a higher
cognitive level. I honestly feel that regular Lisp programming
could be one way of slowing cognitive decline
and declining mental functioning as we all age.
I would encourage everyone who interacts with
children or has children to expose those children
to Lisp if they get identifiied as mathemtically
inclined.
Lisp is a profoundlly seminal and and critical
contribution from Professor McCarthy
to the computer community.
--Stuart