4 ms·
I agree, the decrease in editor-friendliness is really frustrating, coming from Lisp. The lack of parens around cond clauses is also annoying to me, because it
by kbp 9y ago
I agree, the decrease in editor-friendliness is really frustrating, coming from Lisp. The lack of parens around cond clauses is also annoying to me, because it makes it so that you can't really insert a newline after a predicate for legibility, since it makes the then-part flush with the other predicates (and similarly for let bindings).
- saurik 9y agoI don't understand: why can't you add a newsline andan indent? (cond (whatever) (thing) (something) (more))
- kbp 9y agoThere's nothing preventing you from manually doing that when you type the code, but editors and pretty-printers won't know about it. Special-casing them to have "if the car of a list is cond, or this vector was preceded by let, ..., then every second element gets extra indentation if it's on a different line" vs just using the regular list formatting rules just squicks me.
- saurik 9y agoFWIW, running code through machine-formatting is an idea that squicks me enough that I hadn't even considered that you would be trying to do that... :(.
- slowmovintarget 9y agoEmacs is awesome, but making language design decisions based on Emacs (or any editor, for that matter) seems like it ought to be at best a non-goal.