News for hackers. Stuff that matters.
Re:Better Clojure formatting by enoch_r on Friday December 07, 2018 @02:10PM (#18630573)
That isn't "how lisp works," that's how most people choose to format their lisp code.

And this is the entire point of the article. He discusses this at length: to reach the universality and speed of a `gofmt`-like formatting tool, we would have to give up on the idea that s-expressions should be indented differently based on their content.

Personally I find this a very tempting tradeoff. You may not, but indenting different s-exps in different ways based on their first element is not "correct," it's just... what most people choose to do.

Re:Better Clojure formatting by lispm on Friday December 07, 2018 @05:03PM (#18632110)
> You may not, but indenting different s-exps in different ways based on their first element is not "correct," it's just... what most people choose to do.

They are not just s-expressions. They are programs. Just like a C code is not a random string, but a program.