Re: Why don't people like lisp?
From: David Steuber (david.steuber_at_verizon.net)
Date: 10/14/03
- Next message: Barry Margolin: "Re: tail recursion guidelines"
- Previous message: Wade Humeniuk: "Re: Why don't people like lisp?"
- In reply to: Francis Avila: "Why don't people like lisp?"
- Next in thread: Gareth McCaughan: "Re: Why don't people like lisp?"
- Reply: Gareth McCaughan: "Re: Why don't people like lisp?"
- Reply: Raffael Cavallaro: "Re: Why don't people like lisp?"
- Reply: Kenny Tilton: "Re: Why don't people like lisp?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 14 Oct 2003 20:40:36 GMT
"Francis Avila" <francisgavila@yahoo.com> writes:
> Lisp, the language family (or whatever you want to call it), still
> has this stigma: lambda calculus is not a natural way of thinking.
My experience with other wannabe programmers is that any logical
thought for solving a problem is not a natural way of thinking. C++
is no better than Lisp for working out a problem. Python, Ruby,
Perl, et al, are not any better either.
I think the infix notation languages just seem more natural because
that is what more people are exposed to.
The HP calculators with RPN were never as popular either. But to
those who used them, RPN was far better than infix.
The PostScript language is also an RPN. If you have experience with
HP calculators, it is a drop dead simple language. However, the
postfix notation lacks the power of the prefix notation and
parenthesized grouping used in Lisp. ie
(+ 1 2 3 4 5)
vs
1 2 3 4 5 add add add add
Lisp has far simpler syntax than infix languages. The syntax is
almost, but not quite, as simple as assembler.
Try doing this in C++, Python, or whatever:
(do ((a 1 b) (b 1 (+ a b)))
(nil a)
(print a))
You will need to add a temp variable to do the sequence properly.
You very quickly run into bignums. That can be fixed by substituting
a simple predicate in place of the nil. In any case, I've never seen
a shorter version of that sequence generator.
I'm not saying Lisp is easy. The real truth is that no programming
language is easy. Programming is a difficult task regardless of the
language you use. If it wasn't, there wouldn't be so much effort
expended on trying to write bug free software because everyone would
be doing it. Rational would not exist. There would be no RUP or
extreme programming schools of thought.
-- One Emacs to rule them all. One Emacs to find them, One Emacs to bring them all and in the darkness bind them. Class B NRA Rifle Silhouette shooter There are no typos in this post. My spelling realy is that bad.
- Next message: Barry Margolin: "Re: tail recursion guidelines"
- Previous message: Wade Humeniuk: "Re: Why don't people like lisp?"
- In reply to: Francis Avila: "Why don't people like lisp?"
- Next in thread: Gareth McCaughan: "Re: Why don't people like lisp?"
- Reply: Gareth McCaughan: "Re: Why don't people like lisp?"
- Reply: Raffael Cavallaro: "Re: Why don't people like lisp?"
- Reply: Kenny Tilton: "Re: Why don't people like lisp?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|