Declarative vs Imperative AI
Share
A key shift in how we interact with software is moving from giving step-by-step instructions to simply describing desired outcomes, enabled by AI. Here's how this paradigm shift works.
The Traditional Imperative Model
- Users must execute a series of specific steps
- Requires knowledge of how the software works
- Involves clicks, drags, touches and swipes
- User has to translate their desired outcome into specific actions
- Similar to giving detailed instructions to a junior intern
The New Declarative Model (Chat UX)
- Users describe the end result they want
- Software figures out all steps in between
- Uses natural language to communicate intent
- Similar to working with a senior employee who understands context
- Eliminates need to know specific software functions
Real World Applications
-
Travel Planning
- Old way: Book flight, then hotel, then activities separately
- New way: "Plan me a 4-day family trip to Austin with good food and some sightseeing"
-
Business Software (like Hubspot)
- Old way: Navigate through reporting tools with specific clicks
- New way: "Show me all subscribers from Hampton over last 90 days by geography"
Why This Matters
- Represents biggest tech paradigm shift since the internet
- Bigger impact than mobile revolution
- Affects every industry and business type
- Changes fundamental way humans interact with software
- Opens up new opportunities for startups and incumbents
Key Benefits
- Reduces learning curve for software
- More intuitive user experience
- Faster task completion
- Focuses on outcomes rather than process
- Accessible to anyone who can communicate their needs
This represents a fundamental shift from "how" to "what" in software interaction, making technology more accessible and efficient for everyone.
10:01 - 11:18
Full video: 01:17:16DS
Dharmesh Shah
Co-founder and CTO of HubSpot, a leading SaaS company. Recognized as a top SaaS influencer in 2024, with expertise in AI-driven user experiences.
Committed to continuous learning and innovation in the tech industry, focusing on SaaS, AI, and martech.