GeistHaus
log in · sign up

Elastic tabstops - a better way to indent and align code

nickgravgaard.com

Elastic tabstops - a better way to indent and align code

3 pages link to this URL
CLJ Commons: Building a formatter like gofmt for Clojure

In the last ten years or so, source code formatters with limited/no configuration have become popular. Go is the most well known example, shipping with gofmt, but there are similar tools in Rust, JavaScript, Python. Clojure and Lisps in general have historically allowed very flexible formatting of s-expressions. This can aid readability, but adds a cognitive overhead for readers used to different styles. It can also be challenging to match existing source code formatting if you are using a diff...

4 inbound links website en