How many parens are too much? Is relying on ordering 'less lispy' somehow? Could lisps use even fewer parens? [2/2]
miniblog.
Related Posts
I'm surprised I've never seen a lisp dialect where it's idiomatic to use trailing parens as you would in C.
(foreach car cars
(drive car)
)
It makes structure very visible when you're trying to add a new expression.
IDEs help, but is the ))) density always compelling?
One problem with syntactic-based diff tools (like difftastic) is that they can show confusing results when replacing a function.
I've realised that traditional diffs have the same problem! There's one common line between old and new, and diff has matched the closing parens.
Syntactic diffs can get confused by adding whole functions. I've added two functions and modified the function afterwards. Difftastic would associate the parens of the new function with the outer parens of the modified function!
This is "correct" (minimal edits) but unhelpful.



