Re: Why is LISP syntax superior?
- From: "Juan R." <juanrgonzaleza@xxxxxxxxxxxxxxxxxxxx>
- Date: 23 Jun 2006 11:14:09 -0700
Takehiko Abe wrote:
what about
(+ (* 1 2 3) (/ 4 5 6))
vs
((1 * 2 * 3) + (4 / 5 / 6))
Yes, but
i) In my experience in science those constructs are unusual. Mixed
operators sequences are more usual and in practice simplification of
prefix notation is not noted.
ii) I tend to think in terms of binary operations and then something as
(* 1 2 3)
looks "non-mathematical". I would prefer
(* * 1 2 3)
Moreover, the translation between both forms infix and prefix is simple
and computer can do it very well.
Maybe in the past, prefix notation was a requirement for hardware but
today i see no realistic advantage (unless i was completely wrong).
Juan R.
Center for CANONICAL |SCIENCE)
.
- Follow-Ups:
- Re: Why is LISP syntax superior?
- From: Takehiko Abe
- Re: Why is LISP syntax superior?
- From: Pierpaolo BERNARDI
- Re: Why is LISP syntax superior?
- References:
- Why is LISP syntax superior?
- From: Juan R.
- Re: Why is LISP syntax superior?
- From: Takehiko Abe
- Why is LISP syntax superior?
- Prev by Date: Re: Why is LISP syntax superior?
- Next by Date: Re: Why is LISP syntax superior?
- Previous by thread: Re: Why is LISP syntax superior?
- Next by thread: Re: Why is LISP syntax superior?
- Index(es):