How AI drove Shopify back to clean code
Turns out, agents just want the same things as humans: easily-readable code, explicit contracts, and helpful feedback
E-commerce platform Shopify wants to make reading source code a thing again. And it has an unlikely ally for its back-to-the-roots approach: AI agents. The company is launching a new storefront theme for its customers, aka “merchants,” that it claims is completely understandable by anyone with even a smidgen of HTML knowledge.
It is designed to be simpler for both people and machines to digest and hack against. Shopify hasn’t named this new theme yet, but is unveiling it in developer forums as the probable successor to Horizon, its current JSON-heavy base theme, which customers use to customize their own Shopify pages. The new code is mostly HTML, interpolated by the company’s own block-based Liquid templating language, which is also fairly easy on the eyes.
When merchants peek into the templates directory of this new theme, they will see plain-text files of easy-to-parse code, not long strings of inscrutable JSON. This theme has 93% fewer lines of code than Horizon. The company’s increasingly popular AI service is driving this rearchitecture redesign.
“Every leading model already understands HTML. It is expressive, local, and token-efficient,” wrote Ben Sehl, Shopify product director for storefronts, in a missive on X. And Shopify’s Liquid template language meshes perfectly with HTML.
From merchants to merchandisers In his post, Sehl recalled a decade ago, when he was a merchant himself, and Shopify only offered a basic template. It was easy for Sehl, then a novice web coder, to modify with a third-party starter kit. Over time, Shopify enriched the templating, allowing users to become full-fledged designers.
The Online Store Editor gave them more control over how a page and its various “block” components would look like. Every button and knob could be customized. Flexibility begets complexity, however.
The user template instructions were converted to JSON. “That trade-off gave merchants far more control, but it came with a developer-experience cost: you could no lo
Đọc thêm từ Công nghệ
Kalshi demands Netflix take down trailer for ‘Prediction Games’ documentary
Kalshi claims the trailer is “defamatory” and contains “both fabricated documents and false and misleading statements.”
![[Copy] NYT ‘Connections’ Hints And Answers For Sunday, July 19](https://imageio.forbes.com/specials-images/imageserve/6897b0fa9d5fa5836ab3a53d/0x0.jpg?width=960)
[Copy] NYT ‘Connections’ Hints And Answers For Sunday, July 19
Looking for today's NYT Connections hints? Some help and the answers for today's game are right here to help keep your streak alive.

iPhone 18 Release Date: Spring Delay Boosts Autumn iPhone 18 Pro Sales
Apple’s delay of the iPhone 18 release until spring 2027 forces buyers to choose between maintaining older hardware or jumping straight to the AI-ready iPhone 18 Pro.
Writing a (valid) C program without main()
Article URL: https://labs.iximiuz.com/tutorials/c-program-without-main-a1eea557 Comments URL: https://news.ycombinator.com/item?id=49048901 Points: 8 # Comments: 0