htmx company blog
Locality of Behaviour (2020)
Carson Gross explores the Locality of Behaviour (LoB) principle, which emphasizes making the behavior of code units obvious on inspection to enhance maintainability. He discusses the tradeoffs between LoB and other software design principles like DRY and SoC, offering insights on balancing clarity, abstraction, and…
- Points
- 111
- HN comments
- 82
- Submissions
- 2
- Cited by
- 19 commenters
Web & FrontendSoftware Engineering2025
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jul 3, 2025 | Locality of Behaviour (2020) by jstanley | 111 | 62 |
| May 21, 2022 | Locality of Behavior by recursivedoubts | 94 | 20 |
Cited in comments
Linked from 43 Hacker News comments by 19 different people, from Dec 2020 to Jul 2026.
Most recent:
- seanwilson · Jul 26, 2026
- aleksiy123 · May 16, 2026
- librasteve · May 7, 2026
- conradkay · Apr 17, 2026
- emixam · Oct 16, 2025