3 ms·
> In LISP all parentheses look the same, (car (first a)) (cond ((> a 10) 1) ((> b 20) 2) ((> c 30) 3)) Above looks different for
by lispm 3y ago
> In LISP all parentheses look the same,
(car (first a))
(cond ((> a 10) 1)
((> b 20) 2)
((> c 30) 3))
Above looks different for me. As a Lisp programmer I don't look for parentheses, but for patterns with a starting symbol. Remember: list forms typically begin with a symbol.
> If different kinds of brackets had been used for every distinct purpose, then there would have been no need to count parentheses or be dependent on enforcing invariable indentation rules.
No Lisp developer counts parentheses. Indentation rules are used in many programming languages. Lisp applies these rules using tools, like many programming environments do.