3 ms·
> Which indentation style is the correct one? There is no correct one. There are aesthetic preferences to make Lisp code readable. Lisp has code formatters for
by lispm 8y ago
> Which indentation style is the correct one?
There is no correct one. There are aesthetic preferences to make Lisp code readable. Lisp has code formatters for decades and Common Lisp comes with one in the standard (the pretty printer). Tools to format (not just indent) textual Lisp code has also been available for decades, but are less used.
> If you want to have a completely static formatter
The proposal here is to ignore the programming language Clojure and format all code only on the expression level.