Select the search type
  • Site
  • Web
Search

28 Apr 2026

Rob Pike's 5 Rules — What They Mean for AI and Agents

Rob Pike's 5 Rules — What They Mean for AI and Agents

Author: Rod Claar  /  Categories: AI Coding  / 
Scrum & AI Insights

Rob Pike's 5 Rules —
What They Mean for AI and Agents

A Bell Labs legend wrote five simple rules back in 1989. They were about writing clean C code. Turns out they apply just as well to building AI systems and autonomous agents today.

Salem Fine Scrum & AI Practice 10 min read

Rob Pike is one of the creators of the Go programming language. He also worked at Bell Labs alongside Ken Thompson and Dennis Ritchie — the people who built Unix and C. In 1989, Pike wrote a short document called Notes on Programming in C. Inside it were five rules for writing better programs.

Those rules never really got old. Developers still share them today. And right now, as AI tools flood into our backlogs, our CI/CD pipelines, and our sprint reviews, Pike's words feel more useful than ever.

"The key insight is that programming is not about instructions for computers — it is about ideas for people."

— Context from Pike's broader writings on software design

In Scrum, we talk about delivering value in small, working increments. We inspect and adapt. We keep things simple. Pike was saying the same things about code thirty-five years ago. Let's walk through each rule and see what it means when your developer is a large language model, or when the worker in your pipeline is an autonomous AI agent.

Rule 1

You Cannot Tell Where a Program Spends Its Time

"You can't tell where a program is going to spend its time. Bottlenecks occur in surprising places, so don't try to second-guess and put in a speed hack until you've proven that's where the bottleneck is."
— Rob Pike, Notes on Programming in C, 1989

When you add an AI agent to your workflow, you expect it to save time on the obvious, boring stuff — writing boilerplate, triaging tickets, summarizing documents. But the real bottlenecks are rarely where you think they are.

Teams that rush to automate code generation often discover the real slowdown was never writing the code. It was reviewing it, understanding it, and deciding what to build next. AI speeds up the writing but may not touch the actual delay.

In Scrum terms: before your team celebrates because an AI assistant cut story-writing time in half, look at your flow metrics. Check your cycle time. Is the bottleneck actually in writing stories — or is it in refinement, review, or deployment? Measure first. Then decide where to apply AI.

Cycle Time Flow Metrics Backlog Refinement
Rule 2

Measure. Don't Tune for Speed Until You Have.

"Measure. Don't tune for speed until you've measured, and even then don't unless one part of the code overwhelms the rest."
— Rob Pike, Notes on Programming in C, 1989

This one hits differently with AI. There is a strong pull right now to add AI everywhere and optimize everything, all at once. Teams are spinning up agents for testing, for documentation, for code review, for deployment checks — before measuring whether any of it actually helps.

Pike's message was simple: measure first, optimize second. The same applies directly to AI adoption. Before your team changes its Sprint process to accommodate an AI code reviewer, run a few controlled Sprints. Measure velocity, defect rates, and review turnaround time. Then decide.

The Scrum framework already gives you the tools to do this. Your Sprint Review and your Retrospective exist exactly for this kind of inspection. Use them. Don't add AI because it feels fast. Add it because your data shows where it helps.

Sprint Velocity Retrospective Definition of Done
Rule 3

Fancy Algorithms Are Slow When n Is Small

"Fancy algorithms are slow when n is small, and n is usually small. Fancy algorithms have big constants. Until you know that n is frequently going to be big, don't get fancy."
— Rob Pike, Notes on Programming in C, 1989

A large language model is, by definition, a very fancy algorithm. It has enormous constants — in compute cost, in latency, in API pricing, and in the cognitive cost of managing its outputs. When the problem is small, the fancy approach loses.

Does your team need an AI agent to summarize a ten-line daily standup update? Probably not. Does it make sense to use a multi-step reasoning agent to answer a question that a simple regex or a SQL query would answer in milliseconds? No.

This rule teaches us to ask the right question before reaching for a powerful tool: Is n actually big here? For Scrum teams, AI starts to earn its keep on truly large inputs — analyzing hundreds of production defects to find patterns, suggesting relative effort estimates across a backlog of sixty or more items, or synthesizing user research from dozens of interviews. Keep small tasks small.

Story Estimation Defect Analysis Cost of AI
The Scrum Guide & Empiricism

The Scrum Guide (Schwaber & Sutherland, 2020) is built on three pillars: Transparency, Inspection, and Adaptation. Rules 1, 2, and 3 from Pike are essentially an engineering expression of those same three pillars. Don't guess where the cost is (Transparency). Measure before you optimize (Inspection). Don't apply heavy solutions to light problems (Adaptation).

The Scrum framework has never prescribed specific tools. It prescribes a mindset. AI is just a tool — and like any tool, it needs to earn its place in the process through observation and evidence, not enthusiasm.

Rule 4

Fancy Algorithms Are Buggier Than Simple Ones

"Fancy algorithms are buggier than simple ones, and they're much harder to implement. Use simple algorithms as well as simple data structures."
— Rob Pike, Notes on Programming in C, 1989

AI agents are not simple. They hallucinate. They produce confident, well-formatted, completely wrong answers. They can pass tests they should fail and fail tests they should pass. And because their reasoning is not visible the way traditional code is visible, their bugs are harder to find.

Pike wrote this rule to warn against complexity for its own sake. AI adds real complexity to any software system. That complexity needs to be justified by the value it delivers. If an AI agent writes a function that looks right but contains a subtle logic error, your team may ship that error into production — because AI-generated code can look more polished than code that has a bug hiding in it.

This is where Test Driven Development (TDD) and Acceptance Test Driven Development (ATDD) become critical. Write the test first. Let the AI write the code. Then let the test tell you if the output is correct. Without that safety net, AI-generated bugs are much harder to catch than bugs written by a human who knows what they intended to do.

  • Always pair AI code generation with automated test coverage
  • Human code review remains part of your Definition of Done
  • Keep agentic pipelines observable — log what the agent decided and why
TDD ATDD Code Review Observability
Rule 5

Data Dominates

"Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms, are central to programming."
— Rob Pike, Notes on Programming in C, 1989

This might be the most important rule in the age of AI — and the most ignored. AI models are, at their core, a reflection of the data they were trained on. Large language models generate outputs based on patterns in their training data. Agents retrieve, process, and act on the data you give them. The quality of that data determines everything.

In an Agile context, your Product Backlog is data. Your acceptance criteria are data. Your Definition of Done is data. If those are unclear, inconsistent, or poorly structured, an AI agent working with them will produce unclear, inconsistent, or poorly structured outputs — with great confidence and beautiful formatting.

Pike's rule translates directly: before you invest in a better AI model or a smarter agent, invest in better structured data. Clean up your Jira tickets. Write acceptance criteria in consistent formats. Structure your test cases so they can be read by a machine. When your data is good, even a simpler model will do impressive work. When your data is messy, no model saves you.

  • Well-structured user stories feed better AI suggestions
  • Consistent acceptance criteria format enables reliable agent parsing
  • Clean sprint history gives AI more accurate context for estimates
  • Data hygiene is now a team responsibility — not just a DBA problem
Data Quality Product Backlog Acceptance Criteria Context Window
# Pike's Rule AI & Agent Meaning Scrum Connection
1 Bottlenecks are surprising AI may not fix the real delay in your workflow Measure flow before automating
2 Measure before tuning Run controlled Sprints before scaling AI use Retrospective drives data-based adoption
3 Fancy is slow when n is small Don't use LLMs for work a simple query handles Right-size the tool to the story size
4 Fancy algorithms are buggier AI code needs TDD safety nets to catch its errors DoD must include AI output review
5 Data dominates Structure your backlog data before trusting AI output Well-written stories produce better AI results

Rob Pike was not writing about AI. He was writing about C programs in the late 1980s. But wisdom about complexity, measurement, simplicity, and data quality does not expire. If anything, it becomes more important when the complexity is coming from a system you didn't build and can't fully read.

AI agents and large language models are powerful. They are also expensive, opaque, and prone to confident mistakes. That combination requires exactly the discipline Pike was describing — measure before you optimize, keep things as simple as the problem allows, test rigorously, and treat your data as the foundation everything else rests on.

The Scrum framework gives your team the inspect-and-adapt rhythm to do all of this responsibly. The Sprint is your measurement unit. The Retrospective is your tuning cycle. The Product Backlog, when kept clean and well-structured, is your data layer. Pike's rules do not compete with Scrum — they reinforce it.

Before your team adds another AI tool to the pipeline, go back and read those five rules. Ask whether you've measured where the real bottleneck is. Ask whether n is actually big enough to justify the complexity. Ask whether your data is good enough for an AI to use. If the answers are yes, move forward. If the answers are not yet, you know what to work on first.

Ready to Apply This in Your Next Sprint?

Explore more Scrum and AI resources from Salem Fine.

© 2026 AgileAIDev.com · rod@agileaidev.com Source: Rob Pike, Notes on Programming in C, 1989 · Scrum Guide, Schwaber & Sutherland, 2020

 

Print

Number of views (7502)      Comments (0)

Rod Claar Rod Claar

Other posts by Rod Claar
Contact author

More links

Comments are only visible to subscribers.

Contact author

x

Certified Training

Become a Certified ScrumMaster

Master Agile leadership, transform your team dynamics, and earn your CSM® certification in this intensive 2-day virtual workshop. See new half-day options!

Who This Course Is For

This interactive workshop is designed for professionals ready to embrace Agile methodologies and lead high-performing teams. Whether you're transitioning into a Scrum Master role, seeking to enhance your team's collaboration, or looking to bring Agile practices to your organization, this certification workshop provides the foundational knowledge and practical skills you need to succeed.

Ideal for: Project Managers, Team Leads, Product Owners, Developers, Testers, Business Analysts, and anyone committed to improving team effectiveness through Scrum.

What You'll Achieve

  • Master Scrum Framework Fundamentals: Gain comprehensive understanding of Scrum roles, events, and artifacts, learning how each component contributes to team success and value delivery.
  • Facilitate Effective Team Collaboration: Develop practical skills to guide teams through impediments, foster self-organization, and create an environment where continuous improvement thrives.
  • Apply Agile Principles in Real-World Scenarios: Learn to translate theory into practice through hands-on exercises, case studies, and interactive simulations that mirror actual workplace challenges.
  • Earn Your Certified ScrumMaster® Credential: Successfully complete the course and receive eligibility to take the CSM exam, gaining a globally recognized certification that validates your Scrum expertise.
  • Build Your Agile Toolkit: Leave with actionable strategies, templates, and techniques you can immediately implement to guide your team toward higher performance and more predictable delivery.
Investment
$399
Includes CSM exam fee & 2-year Scrum Alliance membership
Format
Live Virtual
Interactive workshop with real-time instruction and collaboration
Time
9:00 AM - 5:00 PM PT
Duration
16 Contact Hours

Certified ScrumMaster Workshop Curriculum

Total Duration: 2 Days (16 hours) | 9:00 AM - 5:00 PM Pacific Time

  • The rationale for adopting Scrum
  • Overview of Scrum fundamentals and framework
  • Comparison with other methodologies
  • Detailed exploration of the ScrumMaster role
  • Understanding the Product Owner's duties
  • The dynamics and responsibilities of the Scrum Team
  • Scrum process basics
  • Deep dive into Scrum ceremonies:
    • Sprint Planning
    • Daily Standup
    • Sprint Review
    • Sprint Retrospective
  • Techniques for creating a project and product vision
  • Transition from high-level requirements to user stories and tasks
  • Prioritization and release planning
  • Strategies for getting started with Scrum
  • Common challenges and solutions in Scrum adoption
  • Scaling Scrum across multiple teams
  • Large Scrum simulation exercise
  • Practicing roles within a Scrum team
  • Conducting a mock project to apply learned concepts
  • Continuous improvement methods in Scrum
  • Identifying and resolving impediments
  • Role of QA within the Scrum framework
  • Review of key concepts
  • Exam preparation guidance
  • Open Q&A session

Note: Times are approximate and include breaks. The interactive nature of the workshop means actual timing may vary based on participant engagement and discussion.

PDUs Earned: 14 Professional Development Units upon completion

Frequently Asked Questions

Cancellation & Refund Policy

Full Refunds: Available up until 15 business days before the scheduled event date.

Within 15 Days: Cancellations made within 15 business days of the event will be credited toward future events. However, no refunds will be issued.

Transfer Fee: Rescheduling course attendance within 3 full business days or less will be subject to a transfer fee of $100.00.

No Show: No refunds or credits will be available for participants who fail to attend both days of the course.

Substitutions: Attendee substitutions for the same course will be accepted at any time prior to commencement of the course.

To submit a refund or transfer request, please contact us at registrations@effectiveagiledev.com or toll free at (888) 294-1865 prior to the deadline.

We may cancel courses for low attendance up to 2 weeks prior to the start date. Should your course be cancelled, you will be offered your choice of a discount on the next appropriate instance of the course or a full refund.

Important: Do not confirm travel to the class until you are certain that the class has been confirmed.

We offer flexible payment options:

  • Half Now, Half Later: Pay 50% now and the remainder before class starts
  • Full Payment: Pay the complete amount at registration
  • Team/Organization Purchase Orders: Available for groups of 3 or more

Select your preferred payment option during registration.

Prerequisites & Requirements

Prior to attending, participants should ideally have:

  • Basic Understanding of Agile: Some background in Agile methodologies, either through previous courses (such as Intro to Agile Methods) or through direct experience working in Agile environments.
  • Team Experience: Experience working on or managing development teams, though this is not strictly required.
  • Open Mind: Willingness to learn new approaches to project management and team collaboration.

Note: Whether you are a Scrum novice or someone looking to sharpen your skills, this program will enhance your understanding of how to implement Scrum successfully.

For our virtual training, you'll need:

  • Stable Internet Connection: High-speed internet for video conferencing
  • Computer with Webcam: Desktop or laptop with working camera and microphone
  • Video Conferencing Software: Zoom or other platform (details provided upon registration)
  • Quiet Environment: Space where you can participate actively without major distractions
  • Second Monitor (Recommended): Helpful for viewing materials while participating in activities

Detailed technical setup instructions will be sent to you one week before the class.

Yes, full class attendance is required for certification.

The course is designed as an integrated 2-day experience where concepts build upon each other. Both days are necessary to:

  • Complete all required learning objectives
  • Participate in hands-on Scrum simulations
  • Qualify for your Scrum Alliance Certified ScrumMaster (CSM) certification attempt
  • Earn the full 14 Professional Development Units (PDUs)

Class times are 9:00 AM to 5:00 PM Pacific Time both days.

Is This Course Right For You?

The Certified ScrumMaster Class is perfectly suited for those operating within or managing development teams involved in complex project or product development. The class is ideal for:

  • Development Team Members who are actively involved in software development and want to adopt agile practices
  • Managers and Directors who oversee teams and need to approach their roles with a more agile and Scrum-oriented mindset
  • Project Managers (PMs) looking to transition or adapt to more agile frameworks in managing projects
  • Testers and Analysts who work directly with product development and need Scrum knowledge to improve their workflows
  • C-level Executives responsible for steering the company's agile transformation efforts who want to support their teams with a thorough understanding of Scrum practices

This workshop may not be the best fit if you are:

  • Looking for Advanced Scrum Training: If you're already a practicing ScrumMaster with years of experience, you may benefit more from our Advanced Certified ScrumMaster (A-CSM) course or specialized Scrum coaching.
  • Seeking Product Owner Specific Training: While this course covers Product Owner basics, those focused on the Product Owner role should consider our Certified Scrum Product Owner (CSPO) workshop instead.
  • Not Working in Software/Product Development: While Scrum principles can apply broadly, this course focuses heavily on software and product development contexts. Those in other industries may find the examples less relevant.
  • Unable to Commit to Both Days: The certification requires full attendance of both days. If you cannot commit to the complete schedule, this may not be the right time to enroll.
  • Looking Only for Certification Without Learning: This is an interactive, hands-on learning experience. If you're only interested in getting the credential without engaging in the learning process, this isn't the course for you.
  • Seeking Technical Developer Training: For deep dives into technical practices like Test-Driven Development (TDD), design patterns, or AI-enhanced coding, consider our Effective Scrum Developer or AI Training courses instead.

Not sure if this is right for you? Contact us at info@effectiveagiledev.com or call (425) 738-0586 to discuss which course best fits your needs.

You're welcome! Whether you are a Scrum novice or someone looking to sharpen your skills, this program will enhance your understanding.

The course is designed to accommodate both beginners and those with some experience. We start with fundamentals and build up to more complex implementation strategies. The hands-on simulations and exercises help newcomers quickly understand Scrum concepts through direct experience.

However, having a basic understanding of software development or project management will help you get the most out of the course.

Additional Information

Upon successful completion of the course, you will:

  • Receive Access to CSM Exam: You'll get access to the Scrum Alliance Certified ScrumMaster examination (online and open book)
  • Exam Support Guarantee: Your instructor, Rod Claar CST, will guarantee to work with you until you pass the test!
  • Earn 14 PDUs: Professional Development Units upon completion
  • Gain Certification: Upon passing the exam, you'll receive your Scrum Alliance Certified ScrumMaster (CSM) certification
  • Access Recorded Sessions: Review materials anytime through our session recordings
  • Optional Gold Plan Coaching: Up to 8 hours of personalized coaching within 60 days (if selected)

Yes! All classes have team discounts available.

For organizations with 3 or more employees attending, we offer:

  • Special team pricing
  • Customized Private Team Sessions
  • Flexible scheduling options
  • Tailored content to address your organization's specific challenges

Contact us at info@effectiveagiledev.com for team pricing and private session options.

Note: Effective Agile Development reserves the right to limit the number of discounted seats available in any course. No discounts may be combined.

Yes, with our Free Refresher Course benefit!

As an added value to course participants, Effective Agile Development reserves two seats at each public course for individuals who have already successfully completed the same course but would like to take it a second time at no cost.

This allows you to:

  • Brush up on your learning
  • Attend a session led by a different trainer
  • Reinforce concepts before implementing Scrum in your organization

Requirements: The offer is provided on a first-come, first-served basis and must be used for the same course as the original within six months following the original course. Contact us early to reserve your seat.

Still Have Questions?

We're here to help! Contact us for personalized answers to your questions.

Why Choose Our Training

Our Approach

Hands-On, Interactive Learning

Experience comprehensive learning through large-scale Scrum simulations, role-playing exercises, and mock projects. You won't just learn about Scrum—you'll practice it in real-time with guidance from an experienced Certified Scrum Trainer.

Flexible Virtual Training

Attend from anywhere with interactive virtual collaboration tools, real-time engagement with peers and instructors, and access to recorded sessions. Save on travel costs while receiving high-quality, personalized instruction that fits your busy schedule.

Expert Instruction with Guaranteed Success

Learn from Rod Claar, CST (Certified Scrum Trainer), who brings decades of real-world experience in software development, Scrum implementation, and agile transformation. Rod personally guarantees to work with you until you pass your exam—demonstrating an unwavering commitment to your success.

Beyond the Basics

Go deeper than theory with practical implementation strategies, common challenge solutions, process improvement techniques, and guidance on scaling Scrum across multiple teams. Plus, optional Gold Plan coaching provides up to 8 hours of personalized support in your first 60 days.

Certified Scrum Trainer Badge

Scrum Alliance Certified Scrum Trainer (CST)

20+
Years Teaching Scrum
14
PDUs Earned
5800+
Students Certified

What Our Students Say

"Rod's workshop transformed how our team approaches development. The hands-on simulation made everything click—we went from confused to confident in just two days. His real-world experience and practical examples made all the difference."

Sarah M. Development Team Lead, Tech Solutions Inc.

"Best training investment I've made in my career. Rod doesn't just teach Scrum theory—he shows you how to implement it successfully with your actual team challenges. The virtual format worked perfectly, and I appreciated the recorded sessions for review."

Michael T. Project Manager, Financial Services

"I was skeptical about virtual training, but Rod's interactive approach kept everyone engaged throughout. The large-scale simulation exercise was incredible—we actually felt what it's like to work in a Scrum team. Passed my CSM exam on the first try!"

Jennifer K. Software Developer, Healthcare Technology

Proven Track Record

Used in real workshops with development teams at Fortune 500 companies

Successfully trained teams across multiple industries: software, healthcare, finance, and manufacturing

High first-time pass rate on Scrum Alliance CSM certification exam

Personalized guarantee: Your instructor will work with you until you pass the exam

🎯 New Flexible Payment Options

Half Now, Half Later: Split your payment—pay half now and the remainder before class starts
Gold Plan: Includes up to 8 hours of personalized coaching with Rod in your first 60 days after class
Team Discounts: Special pricing for organizations with 3+ attendees. Contact us for private team sessions!

Start Your ScrumMaster Journey Today

Transform your approach to Agile leadership. Reserve your spot in this comprehensive two-day certification workshop and join a community committed to continuous improvement.

Have questions about the workshop or certification process?

Contact Us

Virtual Format • Pacific Time Zone
February 10-11, 2026 • Full certification included