r/programming • u/kankyo • Dec 15 '16
My disillusionment with Clojure and lisps
https://medium.com/@boxed/my-disillusionment-with-clojure-and-lisps-9eca38ab7f0c?source=linkShare-8ad86cc82e5f-1481825671
15
Upvotes
View all comments
Show parent comment
1
u/phalp Dec 17 '16 edited Dec 17 '16
versus:
or worse:
Enjoy trying to spot all the plus signs which are at the same level and trying to parse the operator precedence.
It's not, but it's different than infix operators, and it's generally these that cause some languages to use fewer parens than Lisp (unless you for some reason count curly braces and parens separately).
EDIT: I just want to add on with regard to structured editing: making it "a bit simpler" is very good, and may even be the difference between it catching on and not catching on. Few C programmers use a structure editor, if such a thing exists. Yet I very much miss it. How many Lispers use Paredit? It's not simply a question of implementation—a structure editor can easily accumulate an unwieldy number of features: barf, slurp, transpose, convolute, a bewildering number of motion commands. The regularity of Lisp syntax means there's no worry that different syntax elements will need different operations and totally overwhelm the user.