Brutality of Behaviour (with Carson Gross) - podcast episode cover

Brutality of Behaviour (with Carson Gross)

Apr 29, 202546 minEp. 38
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Summary

Jared interviews Carson Gross, creator of HTMX, discussing Locality of Behavior (LoB) as an alternative principle to Separation of Concerns (SoC) in web development. Carson explains how HTMX leverages hypermedia for simpler, more maintainable front-ends, critiquing traditional approaches that lead to "spooky action at a distance." They explore trade-offs with principles like DRY and the importance of pragmatic software design, advocating for deeper modules and simpler APIs.

Episode description

In this episode of Dead Code, Jared interviews Carson Gross, creator of HTMX, about the principle of Locality of Behavior (LoB) and its role in web development. Carson explains that HTMX enhances HTML rather than replacing it like modern JavaScript frameworks, offering a simpler, hypermedia-driven approach ideal for use cases like e-commerce. He critiques the traditional emphasis on Separation of Concerns, arguing that keeping behavior close to markup improves maintainability and avoids “spooky action at a distance.” Carson acknowledges trade-offs between LoB, DRY, and SoC, emphasizing the importance of context-based decision-making. He and Jared also discuss broader software trends, advocating for deeper modules, simpler APIs, and a pragmatic, less ideological approach to coding as the industry evolves.


Links:


HTMX Website

HTMX Essays (especially Locality of Behavior and When to Use Hypermedia)

grugbrain.dev

Hypermedia Systems Book

Richard Gabriel’s “Worse Is Better” Essay

Mozilla Developer Network (MDN)

John Ousterhout’s A Philosophy of Software Design

The Uncle Bob vs. John Ousterhout Argument

Big Sky Software (Carson’s Company)

Hyperscript


Dead Code Podcast Links:


Mastodon

X


Jared’s Links:


Mastodon

X

twitch.tv/jardonamron

Jared’s Newsletter & Website


Episode Transcript

Hosted on Acast. See acast.com/privacy for more information.

For the best experience, listen in Metacast app for iOS or Android