4 ms·
There's more to the syntax than just the parenthesis. That you write (let ((x 4)) (print x)) instead of (let x 4 (print x)) is part of it. So is the o
by ced 19y ago
There's more to the syntax than just the parenthesis. That you write
(let ((x 4)) (print x))
instead of
(let x 4 (print x))
is part of it. So is the order of arguments.
- Zak 19y agoSure, those are all parts of the syntax of a language, but I still maintain that CL's syntax is simpler and more regular than that of Ruby and vastly simpler than that of Java. As an aside, the first form of the example you gave is what most Lisps use. CL, Scheme, Emacs and Goo all use this. The second, as far as I know is only used by Arc, which has a more complicated syntax than most Lisps.