(+ (* (- (/ 45 99) (* (+ 1 4) 3)) (* 4 (- 5 3))))
Which operator operates on the result of the 4*(5-3) sub-expression? You have to stop and THINK about that -- you can't just SEE the answer.
(+ (* (- (/ 45 99) (* (+ 1 4) 3)) (* 4 (- 5 3))))
Which operator operates on the result of the 4*(5-3) sub-expression? You have to stop and THINK about that -- you can't just SEE the answer.
(+
(* (- (/ 45 99)
(* 3 (+ 1 4)))
(* 4 (- 5 3))))
Or perhaps add in even more indentation. In any case, now if you asked me what operates on the result of (* 4 (- 5 3)), I could tell you immediately that it's *.That said, I do agree that infix notation for mathematics can often be clearer and more concise. If I found myself doing a lot of arithmetic, I might be tempted to write a macro to allow me to write in infix.
... none of which is to say that Lisp Is Bad (which is certainly not the point I was trying to make in the original article) -- just that the good points are to some degree balanced by some bad ones, and Lisp evangelists don't ultimately help their cause by pretending that even the bad bits are good.
However, as you start using LISP more and more frequently, the expression you gave could be evaluated within your head at sight. It's just to know where to start looking for a opening/closing paren.
Something like this:
http://www.cliki.net/infix