Changelog Interviews

The CEO of htmx likes codin' dirty

Jun 18, 2025
Carson Gross, the creator of the HTMX JavaScript library and author of Hypermedia Systems, dives into his passion for hypermedia and its evolution. He shares insights on elevating HTML for web interactions and the importance of simplicity in coding. The discussion also touches on Gumroad's decision against using HTMX, balancing clean and practical coding styles, and innovations in multi-agent communication. Carson's blend of humor and thoughtful reflections on coding practices captures a refreshing perspective on modern web development.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
INSIGHT

HTMX Generalizes Hypermedia Controls

  • HTMX generalizes hypermedia controls by letting any element trigger HTTP requests on varied events.
  • It allows partial HTML replacements on the page, making hypermedia interactions richer and smoother.
INSIGHT

Hypermedia Simplifies State Management

  • Hypermedia reduces complexity by collapsing server and client state layers.
  • This leads to simpler, smaller codebases but limits rich interactivity compared to client-heavy apps.
ADVICE

Co-Locate HTMX Logic with Elements

  • Put HTMX logic as attributes co-located with elements for clarity.
  • This approach avoids the complexity and spaghetti code common with jQuery style separate scripting.
Get the Snipd Podcast app to discover more snips from this episode
Get the app