The Ugly Truth About Lisp Indentation
2025-01-19
Lisp programmers have long debated the best indentation style. This article explores various approaches, including no indentation, function-aligned indentation, space-filling indentation, and the author's controversial "sick" macro indentation. Function-aligned indentation becomes unwieldy with deep nesting, while space-filling, though efficient, falls short in extreme cases. The author advocates for a "sick" macro style, which, despite being unconventional, maintains readability in deeply nested code and plays well with most indentation tools. Readers are invited to share their preferred styles.