~/talk

Introducing Standard Clojure Style: no fuss code formatting

Talkat Clojure/conj 2024 · 2024-10-23..10-25· [developer-experience]
slides:none on file

A single-file zero-dependency JavaScript formatter implements a fixed-indentation algorithm with a special rule three alignment exception, pretty-prints and sorts namespace requires, and preserves vertical alignment and trailing parens unless explicitly pinned. The tool formats large codebases — ran on Metabase ~700 files ~100k lines — in under two seconds, builds to a cross-platform binary via Bun, and is designed to be portable to other languages and editors.

AI-written summary · about

  1. 0:00Standard Clojure Style origin
  2. 1:47Style vs linters
  3. 2:49Formatting whitespace and indentation
  4. 4:11Fixed indentation and Rule Three
  5. 7:25Consistent namespace formatting
  6. 9:08Portability and future plans
  7. 10:13Demo and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.