The API-First Infrastructure Mandate
by Farhan Thawar • Vice President and Head of Engineering at Shopify
Farhan is an engineering executive known for creating high-velocity cultures at companies like Shopify, Xtreme Labs, and Pivotal. He has a track record of working with visionary founders and is an expert in scaling engineering teams, pair programming, and remote-first organizational design.
🎙️ Episode Context
Farhan Thawar discusses the unique operating principles that allow Shopify to maintain startup-like urgency at scale. He details the philosophy of 'choosing the hard path,' the counter-intuitive efficiency of pair programming to increase intensity ('kilojoules per hour'), and Shopify's aggressive approach to deleting code and meetings. The conversation also covers unconventional hiring practices, including using internships as primary recruiting channels and treating the first 90 days as the real interview.
Problem It Solves
Prevents accumulating technical debt and ensures scalability by forcing teams to build platforms rather than one-off point solutions.
Framework Overview
A product development philosophy championed by Tobi Lütke where teams are challenged to build the underlying infrastructure that makes a feature trivial to implement, rather than just hacking together the feature itself.
🧠 Framework Structure
The 'One Hour' Test: Don't ask how lo...
Speculative API Design: Write the cli...
Gas in the Tank: Categorize work as '...
The 10,000 Options: Don't stop at the...
When to Use
When planning complex features that are likely to have variants (e.g., NFT gating) or when the roadmap feels like a list of disconnected features.
Common Mistakes
Over-engineering infrastructure for a problem that is actually just a one-off experiment.
Real World Example
Instead of just building NFT gating as a feature, Shopify spent months building a platform layer that allowed NFT gating (and similar token-based access) to be built on top of it in minutes.
He goes, 'How long would it take to build a platform layer which exposes APIs so anyone could build NFT gating in one hour?'
— Farhan Thawar