Re: Why is LISP syntax superior?




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)

.