SlideShare a Scribd company logo
1
Material copyright Bertrand Meyer, 2015
Based in part on the book Agile! The Good, the Hype and the Ugly
by Bertrand Meyer, Springer, 2014
Agile Methods:
The Good, the Hype and the Ugly
ACM Webinar,18 February 2015
Bertrand Meyer
Chair of
Software Engineering
2
Where it came from
.
3
• Learning Center tools for professional development: http://learning.acm.org
• 1,400+ trusted technical books and videos by O’Reilly, Morgan Kaufmann, etc.
• Online training toward top vendor certifications (CEH, Cisco, CISSP, CompTIA, PMI, etc
• Learning Webinars from thought leaders and top practitioner
• ACM Tech Packs (annotated bibliographies compiled by subject experts
• Podcast interviews with innovators and award winners
• Popular publications:
• Flagship Communications of the ACM magazine: http://cacm.acm.org/
• ACM Queue magazine for practitioners: http://queue.acm.org/
• ACM Digital Library, the world’s most comprehensive database of computing
literature: http://dl.acm.org.
• International conferences that draw leading experts on a broad spectrum of
computing topics: http://www.acm.org/conferences.
• Prestigious awards, including the ACM A.M. Turing and Infosys:
http://awards.acm.org/
• And much more…http://www.acm.org.
ACM Highlights
4
Talk Back
• Use Twitter widget to Tweet your favorite quotes
from today’s presentation with hashtag
#ACMWebinarAgile
• Submit questions and comments via Twitter to
@acmeducation – we’re reading them!
• Use the Facebook and other sharing toolsin the bottom
panel to share this presentation with friends and
colleagues
5
Material copyright Bertrand Meyer, 2015
Based in part on the book Agile! The Good, the Hype and the Ugly
by Bertrand Meyer, Springer, 2014
Agile Methods:
The Good, the Hype and the Ugly
ACM Webinar,18 February 2015
Bertrand Meyer
Chair of
Software Engineering
6
7
Agile manifesto
.
8
Agile methods
Crystal
Lean
Scrum
XP Kent Beck
Mary Poppendieck
Alistair Cockburn
Schwaber & Sutherland
9
Topics
1 Key agile concepts
2 Assessment
Supplementary material: pitfalls in
assessing agile methods
10
.
1
Key agile concepts
11
Twelve principles
We follow these principles:
1. Our highest priority is to satisfy the customer through
early and continuous delivery of valuable software.
2. Welcome changing requirements, even late in development. Agile processes harness
change for the customer's competitive advantage.
3. Deliver working software frequently, from a couple of weeks to a couple of months,
with a preference to the shorter timescale.
4. Business people and developers must work together daily throughout the project.
5. Build projects around motivated individuals. Give them the environment and
support they need, and trust them to get the job done.
6. The most efficient and effective method of conveying information to and within a
development team is face-to-face conversation.
7. Working software is the primary measure of progress.
8. Agile processes promote sustainable development. The sponsors, developers, and
users should be able to maintain a constant pace indefinitely.
9. Continuous attention to technical excellence and good design enhances agility.
10. Simplicity — the art of maximizing the amount of work not done — is essential.
11. The best architectures, requirements, and designs emerge from self-organizing
teams.
12. At regular intervals, the team reflects on how to become more effective,
then tunes and adjusts its behavior accordingly.
Source: Agile manifesto
Practice
Assertion
Practice
Assertion
Assertion
Wrong
Redundancy
Redundancy
What about
testing?
12
Finishing a design
It seems that the sole purpose of the work of engineers,
designers, and calculators is to polish and smooth out,
lighten this seam, balance that wing until it is no longer
noticed, until it is no longer a wing attached to a
fuselage, but a form fully unfolded, finally freed from
the ore, a sort of mysteriously joined whole, and of the same quality
as a poem.
It seems that perfection is reached, not when there is nothing more
to add, but when there is no longer anything to remove.
(Antoine de Saint-Exupéry,
Terre des Hommes, 1937)
13
Steve Jobs, 1998
That's been one of my
mantras — focus and
simplicity. Simple can be
harder than complex:
You have to work hard to
get your thinking clean to
make it simple.
But it's worth it in the end because once you get there, you can
move mountains.
14
Towards a better definition
Values
Principles
Practices:
 Managerial
 Technical
Artifacts
Agile methods
15
My view: agile values
 A New, reduced role for manager
 B No “Big Upfront” steps
 C Iterative development
 D Limited, negotiated scope
 E Focus on quality, achieved through testing
16
My view: agile principles
Organizational
 1 Put the customer at the center
 2 Accept change
 3 Let the team self-organize
 4 Maintain a sustainable pace
 5 Produce minimal software:
• 5.1 Produce minimal functionality
• 5.2 Produce only the product requested
• 5.3 Develop only code and tests
Technical
 6 Develop iteratively
• 6.1 Produce frequent working iterations
• 6.2 Freeze requirements during iterations
 7 Treat tests as a key resource:
• 7.1 Do not start any new development until all tests pass
• 7.2 Test first
 8 Express requirements through scenarios
17
Standard form for user stories
“As a <user_or_role>
I want <business_functionality>
so that <business_justification>”
Example:
“As a customer,
I want to see a list of my recent orders,
so that I can track my purchases with a company.”
Scrum
18
User stories (my view)
User stories requirement elicitation but not a fundamental
requirement technique. They cannot define the requirements:
 Not abstract enough
 Too specific
 Describe current processes
 Do not support evolution
User stories are to requirements what tests are to software
specification
Major application: for validating requirements
19
Additive and multiplicative complexity
20
Adding features
Historically, developers of telecommunication software have had trouble managing
feature interactions, causing runaway complexity, bugs, cost and schedule overruns,
and unfortunate user experiences. Other areas are also facing the problem.
Consider “busy treatments” in telephony, such as call forwarding, callee interruption,
delayed retry and voice mail. Suppose that we have a tool for specifying and
composing such features. Features can fail to come into action, even if their individual
description says they should, when they start interacting with other features :
 Bob has enabled the “call-forwarding” feature, to Carol. Carol has “do-not-
disturb”. Alice calls Bob: the call is forwarded to Carol; her phone rings.
 Alice calls a sales group. A sales-group feature forwards the call to the
salesperson on duty, Bob. His cellphone is off, so the caller gets Bob’s
personal Voice Mail message. It would be better to reactivate the sales-group
feature to find another salesperson.
Source: Zave*
*Abridged, see full citation in my book or original at
http://public.research.att.com/~pamela/faq.html
21
User stories (imagined)
(#1) As an executive, I want a redirection option so that if my
phone is busy the call is redirected to my assistant
…
(#5) As a system configurator, I want to be able to specify
various priorities for “busy” actions
..
(#12) As a salesperson, I want to make sure that if a prospect
calls while I am in a conversation, the conversation is
interrupted so that I can take the call immediately
…
(#25) As a considerate correspondent, I want to make sure that if
a call comes while my phone is busy I get to the option of calling
back as soon as the current call is over
22
6.2 Iterativeness: freeze requirements during iteration
The closed-window rule: during a sprint, no one may add
functionality
(or: the sprint is cancelled)
Scrum
23
Dual development
Early on: build infrastructure (horizontal, lasagne)
Later: produce releases
H
R W
E I
Y
A
S TE
?P P I GN
E
24
Negotiated scope contract
“Write contracts for software development that fix time, costs,
and quality but call for an ongoing negotiation of the precise
scope of the system. Reduce risk by signing a sequence of short
contracts instead of one long one.
You can move in the direction of negotiated scope. Big, long
contracts can be split in half or thirds, with the optional part to
be exercised only if both parties agree. Contracts with high costs
for change requests can be written with less scope fixed up front
and lower costs for changes”
XP Source: Beck 05
25
.
2
The Ugly,
The Hype,
The Good
& The Brilliant:
An Assessment
26
The ugly
 Rejection of upfront tasks
 Particularly: no upfront requirements
 User stories as a replacement for abstract requirements
 Tests as a replacement for specifications
 Feature-based development & ignorance of dependencies
 Embedded customer
 Coach & method keeper (e.g. Scrum Master) as a separate role
 Test-driven development
 Dismissal of traditional manager tasks
 Dismissal of auxiliary products and non-shippable artifacts
 Dismissal of a priori concern for extendibility
 Dismissal of a priori concern for reusability
 Dismissal of a priori architecture work
27
The indifferent
 Pair programming
 Open-space working arrangements
 Self-organizing teams
 Maintaining a sustainable pace
 Producing minimal functionality
 Planning game, planning poker
 Cross-functional teams
28
The good
 Acceptance of change
 Frequent iterations
 Emphasis on working code
 Tests as one of the key resources of the project
 Constant test regression analysis
 No branching
 Product (but not user stories!) burndown chart
 Daily meeting
29
The brilliant
 Short iterations
 Closed-window rule
 Refactoring (but not as a substitute for design)
 Associating a test with every piece of functionality
 Continuous integration
30
31
.
3
Assessment pitfalls
(supplementary material)
32
Rhetorical devices
 Unverifiable claims
 Proof by anecdote
 Slander by association
 Intimidation
 All-or-nothing
 Cover-your-behind
33
Unverifiable claims
34
Reminder: software engineering has laws
Example: Boehm, McConnell, Putnam, Capers Jones...
Nominal cost & time
Time
Cost
25%
35
Slander by association: Schwaber & Sutherland
 Although the predictive, or waterfall, process is in trouble,
many people and organizations continue to try to make it
work.
and later in the same paragraph:
 [A customer was using] services from
PricewaterhouseCoopers (PWC). The PWC approach was
predictive, or waterfall.
The book’s index entry for “Predictive process” reads “See
Waterfall ”
36
Catastrophism: Schwaber & Sutherland
“You have been ill served by the software industry for 40 years—
not purposely, but inextricably. We want to restore the
partnership.”
Also: every agile author cites the Standish report
37
CYA: the “although” style of agile explanations
Schwaber: Although project development teams are on their own, they are not
uncontrolled.
Cohn: Self-organizing teams are not free from management control. Management
chooses what product to build or often who will work on their project, but the teams
are nonetheless self-organizing. Neither are they free from influence. … That
being said, the fewer constraints or controls put on a team, the better.
A common misconception about agile project management approaches is that
because of this reliance on self-organizing teams, there is little or no role for leaders of
agile teams. Nothing could be further from the truth. In The Biology of Business,
Philip Anderson refutes this mistaken assumption:
“Self-organization does not mean that workers instead of managers engineer an
organization design. It does not mean letting people do whatever they want to do. It
means that management commits to guiding the evolution of behaviors that emerge
from the interaction of independent agents instead of specifying in advance what
effective behavior is.”
Self-organizing teams are not free from management control. Management chooses
for them what product to build or often chooses who will work on their project, but
they are nonetheless self-organizing. Neither are they free from influence. [...] That
being said, the fewer constraints or controls put on a team, the better.
38
CYA: Poppendieck
Final chapter, “Instructions and Warranty”
(chapter 8, pages 179-186)
Look for the balance point of the lean principles:
 Eliminate waste [chapter 3] does not
mean throw away all documentation
 Amplify learning [chapter 2] does not
mean keep on changing your mind
 Decide as late as possible [chapter 3] does not mean
procrastinate
 (etc.)
39
Beck, first edition
To some folks, XP seems like just good common sense. So why
the “extreme” in the name? XP takes commonsense principles
and practices to extreme levels:
 If code reviews are good, we’ll review code all the time
(pair programming)
 If testing is good, everybody will test all the time (unit
testing), even the customers (functional testing)
 If design is good, we’ll make it part of everybody’s daily
business (refactoring)
 …
40
CYA: Beck, second edition
There are better ways and worse ways to develop software. Good
teams are more alike than they are different. No matter how
good or bad your team you can always improve.
41
ACM: The Learning Continues…
Questions about this webcast? learning@acm.org
ACM Learning Webinars (on-demand archive):
http://learning.acm.org/webinar
ACM Learning Center: http://learning.acm.org
ACM SIGSOFT: http://www.sigsoft.org/
ACM Queue: http://queue.acm.org/

More Related Content

PDF
[Confluent] 실시간 하이브리드, 멀티 클라우드 데이터 아키텍처로 빠르게 혀...
PPTX
PPTX
PPTX
GitHub Copilot.pptx
PDF
Developing Event-driven Microservices with Event Sourcing & CQRS (gotoams)
PDF
Requirements Engineering - Domain Models
PPTX
General introduction of IDEA StatiCa Concrete 2022
PPTX
Introduction to Apache Kafka
[Confluent] 실시간 하이브리드, 멀티 클라우드 데이터 아키텍처로 빠르게 혀...
GitHub Copilot.pptx
Developing Event-driven Microservices with Event Sourcing & CQRS (gotoams)
Requirements Engineering - Domain Models
General introduction of IDEA StatiCa Concrete 2022
Introduction to Apache Kafka

What's hot (20)

PPTX
Comprehensive Terraform Training
PDF
Mastering azure devOps - Dot Net Tricks
PPTX
AWS VPC Fundamental
PDF
DevOps Evolution - The Next Generation ?
PDF
Cloud-Native Fundamentals: An Introduction to 12-Factor Applications
PPTX
AMQP 1.0 introduction
PPTX
Introduction to Apache Camel
PPTX
Introduction to DevOps on AWS
PPTX
Open Source Versions of Amazon's SNS and SQS.pptx
PDF
Api Gateway
PPTX
Container orchestration overview
PPTX
Arquitetura de Microserviços - Tecnologia na Prática - Julho/2017
PPTX
AWS Cloud Watch
ODP
Building Netty Servers
PDF
Kafka for Microservices – You absolutely need Avro Schemas! | Gerardo Gutierr...
PPTX
Docker Kubernetes Istio
PPTX
Amazon SageMaker for MLOps Presentation.
PDF
Less passwords, more security: unix socket authentication and other MariaDB h...
PPTX
Vpc (virtual private cloud)
PPTX
Exactly once with spark streaming
Comprehensive Terraform Training
Mastering azure devOps - Dot Net Tricks
AWS VPC Fundamental
DevOps Evolution - The Next Generation ?
Cloud-Native Fundamentals: An Introduction to 12-Factor Applications
AMQP 1.0 introduction
Introduction to Apache Camel
Introduction to DevOps on AWS
Open Source Versions of Amazon's SNS and SQS.pptx
Api Gateway
Container orchestration overview
Arquitetura de Microserviços - Tecnologia na Prática - Julho/2017
AWS Cloud Watch
Building Netty Servers
Kafka for Microservices – You absolutely need Avro Schemas! | Gerardo Gutierr...
Docker Kubernetes Istio
Amazon SageMaker for MLOps Presentation.
Less passwords, more security: unix socket authentication and other MariaDB h...
Vpc (virtual private cloud)
Exactly once with spark streaming
Ad

Viewers also liked (20)

PDF
Introduction to Agile
PPT
Teaching in libraries
PDF
PPTX
Just Words day 6 (unit 2)
PDF
VALS Project Overview  at the Third Meeting Time
PPT
Attitude
PPTX
JW day 4 (unit 2)
PPTX
Eje cafetero
PPT
Stephen's ap gov f inal project.
ODP
Women in South Korea
PPT
Dermot byrne presentation
PPT
Intro computer
ODP
Gender Presentation CGSA
PPTX
PPT
Paul brewster presentation
PPTX
Bill klawitter presentation
PPTX
Spotlight with Imtiaz Ali & nexGTv
PPT
PPTX
Capstone Presentation Jyoung
Introduction to Agile
Teaching in libraries
Just Words day 6 (unit 2)
VALS Project Overview  at the Third Meeting Time
Attitude
JW day 4 (unit 2)
Eje cafetero
Stephen's ap gov f inal project.
Women in South Korea
Dermot byrne presentation
Intro computer
Gender Presentation CGSA
Paul brewster presentation
Bill klawitter presentation
Spotlight with Imtiaz Ali & nexGTv
Capstone Presentation Jyoung
Ad

Similar to Agile Methods: The Good, the Hype and the Ugly (20)

PDF
Agile Fundamentals for Project Managers.pdf
PDF
The Agile Readiness Assessment Tool Essay
PDF
JSA Chapter 06 - Agile Project management.pdf
PPTX
2013 06 04_5806_case_manager_implementation__
PDF
PDF
PPTX
Introduction to Scrum.ppt
PPT
Open / Drupal Camp Presentation: Brent Bice
PPT
Introduction to Software Engineering
PPTX
Effective User Story Writing
DOCX
AGILE PROJECT MANAGEMENT NOTES.docx
PPTX
Applying both of waterfall and iterative development
PPTX
Professional Project Manager Should Be Proficient in Agile
PPT
Agile intro resources
PPTX
About Agile & PMI Agile Certified Practitioner (PMI-ACP) Overview
PPTX
Agile for product owners v12
PPTX
Introduction to Software Engineering
PDF
The Agile Movement
PPT
Mark Foley Agile Methods And The Business Analystc
PPTX
Products and Value: An Agile Perspective BY Matt Nudelmann (GUEST PRESENTER)
Agile Fundamentals for Project Managers.pdf
The Agile Readiness Assessment Tool Essay
JSA Chapter 06 - Agile Project management.pdf
2013 06 04_5806_case_manager_implementation__
Introduction to Scrum.ppt
Open / Drupal Camp Presentation: Brent Bice
Introduction to Software Engineering
Effective User Story Writing
AGILE PROJECT MANAGEMENT NOTES.docx
Applying both of waterfall and iterative development
Professional Project Manager Should Be Proficient in Agile
Agile intro resources
About Agile & PMI Agile Certified Practitioner (PMI-ACP) Overview
Agile for product owners v12
Introduction to Software Engineering
The Agile Movement
Mark Foley Agile Methods And The Business Analystc
Products and Value: An Agile Perspective BY Matt Nudelmann (GUEST PRESENTER)

More from Tyrone Grandison (20)

PDF
Global Scientific Research as a Tool to Unlock and Engage Talent and Expand t...
PPTX
Learning From the COViD-19 Global Pandemic
PPTX
Systemic Barriers in Technology: Striving for Equity and Access
PDF
COVID and the Ederly
PPTX
Are There Ethical Limits to What Science Can Achieve or Should Pursue?
PPTX
Using Data and Computing for the Greater Good
PPTX
How to effectively collaborate with your IT Departments to Develop Secure IA ...
PPTX
DOES innovation Lab Launch
PPTX
Creating Chandler's IT Strategic Plan
PPTX
Inventing with Purpose, Intention and Focus
PPTX
Becoming a Nation of Innovation
PPTX
Running Mixed Workloads on Kubernetes at IHME
PPTX
The Power Of Open
PDF
ISPAB Presentation - The Commerce Data Service
PDF
Building APIs in Government for Social Good
PPTX
Strategies and Tactics for Accelerating IT Modernization
PPTX
The Creative Economy within the United States of America
PPTX
Enabling Data-Driven Private-Public Collaborations
PPTX
Creating a Data-Driven Government: Big Data With Purpose
PPTX
Security and Privacy in Healthcare
Global Scientific Research as a Tool to Unlock and Engage Talent and Expand t...
Learning From the COViD-19 Global Pandemic
Systemic Barriers in Technology: Striving for Equity and Access
COVID and the Ederly
Are There Ethical Limits to What Science Can Achieve or Should Pursue?
Using Data and Computing for the Greater Good
How to effectively collaborate with your IT Departments to Develop Secure IA ...
DOES innovation Lab Launch
Creating Chandler's IT Strategic Plan
Inventing with Purpose, Intention and Focus
Becoming a Nation of Innovation
Running Mixed Workloads on Kubernetes at IHME
The Power Of Open
ISPAB Presentation - The Commerce Data Service
Building APIs in Government for Social Good
Strategies and Tactics for Accelerating IT Modernization
The Creative Economy within the United States of America
Enabling Data-Driven Private-Public Collaborations
Creating a Data-Driven Government: Big Data With Purpose
Security and Privacy in Healthcare

Recently uploaded (20)

PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPT
Introduction Database Management System for Course Database
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Nekopoi APK 2025 free lastest update
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PPTX
Transform Your Business with a Software ERP System
PDF
System and Network Administraation Chapter 3
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
System and Network Administration Chapter 2
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
2025 Textile ERP Trends: SAP, Odoo & Oracle
Introduction Database Management System for Course Database
Odoo Companies in India – Driving Business Transformation.pdf
Design an Analysis of Algorithms I-SECS-1021-03
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Which alternative to Crystal Reports is best for small or large businesses.pdf
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
How to Migrate SBCGlobal Email to Yahoo Easily
Operating system designcfffgfgggggggvggggggggg
Nekopoi APK 2025 free lastest update
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
ManageIQ - Sprint 268 Review - Slide Deck
Transform Your Business with a Software ERP System
System and Network Administraation Chapter 3
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
System and Network Administration Chapter 2
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)

Agile Methods: The Good, the Hype and the Ugly

  • 1. 1 Material copyright Bertrand Meyer, 2015 Based in part on the book Agile! The Good, the Hype and the Ugly by Bertrand Meyer, Springer, 2014 Agile Methods: The Good, the Hype and the Ugly ACM Webinar,18 February 2015 Bertrand Meyer Chair of Software Engineering
  • 3. 3 • Learning Center tools for professional development: http://learning.acm.org • 1,400+ trusted technical books and videos by O’Reilly, Morgan Kaufmann, etc. • Online training toward top vendor certifications (CEH, Cisco, CISSP, CompTIA, PMI, etc • Learning Webinars from thought leaders and top practitioner • ACM Tech Packs (annotated bibliographies compiled by subject experts • Podcast interviews with innovators and award winners • Popular publications: • Flagship Communications of the ACM magazine: http://cacm.acm.org/ • ACM Queue magazine for practitioners: http://queue.acm.org/ • ACM Digital Library, the world’s most comprehensive database of computing literature: http://dl.acm.org. • International conferences that draw leading experts on a broad spectrum of computing topics: http://www.acm.org/conferences. • Prestigious awards, including the ACM A.M. Turing and Infosys: http://awards.acm.org/ • And much more…http://www.acm.org. ACM Highlights
  • 4. 4 Talk Back • Use Twitter widget to Tweet your favorite quotes from today’s presentation with hashtag #ACMWebinarAgile • Submit questions and comments via Twitter to @acmeducation – we’re reading them! • Use the Facebook and other sharing toolsin the bottom panel to share this presentation with friends and colleagues
  • 5. 5 Material copyright Bertrand Meyer, 2015 Based in part on the book Agile! The Good, the Hype and the Ugly by Bertrand Meyer, Springer, 2014 Agile Methods: The Good, the Hype and the Ugly ACM Webinar,18 February 2015 Bertrand Meyer Chair of Software Engineering
  • 6. 6
  • 8. 8 Agile methods Crystal Lean Scrum XP Kent Beck Mary Poppendieck Alistair Cockburn Schwaber & Sutherland
  • 9. 9 Topics 1 Key agile concepts 2 Assessment Supplementary material: pitfalls in assessing agile methods
  • 11. 11 Twelve principles We follow these principles: 1. Our highest priority is to satisfy the customer through early and continuous delivery of valuable software. 2. Welcome changing requirements, even late in development. Agile processes harness change for the customer's competitive advantage. 3. Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale. 4. Business people and developers must work together daily throughout the project. 5. Build projects around motivated individuals. Give them the environment and support they need, and trust them to get the job done. 6. The most efficient and effective method of conveying information to and within a development team is face-to-face conversation. 7. Working software is the primary measure of progress. 8. Agile processes promote sustainable development. The sponsors, developers, and users should be able to maintain a constant pace indefinitely. 9. Continuous attention to technical excellence and good design enhances agility. 10. Simplicity — the art of maximizing the amount of work not done — is essential. 11. The best architectures, requirements, and designs emerge from self-organizing teams. 12. At regular intervals, the team reflects on how to become more effective, then tunes and adjusts its behavior accordingly. Source: Agile manifesto Practice Assertion Practice Assertion Assertion Wrong Redundancy Redundancy What about testing?
  • 12. 12 Finishing a design It seems that the sole purpose of the work of engineers, designers, and calculators is to polish and smooth out, lighten this seam, balance that wing until it is no longer noticed, until it is no longer a wing attached to a fuselage, but a form fully unfolded, finally freed from the ore, a sort of mysteriously joined whole, and of the same quality as a poem. It seems that perfection is reached, not when there is nothing more to add, but when there is no longer anything to remove. (Antoine de Saint-Exupéry, Terre des Hommes, 1937)
  • 13. 13 Steve Jobs, 1998 That's been one of my mantras — focus and simplicity. Simple can be harder than complex: You have to work hard to get your thinking clean to make it simple. But it's worth it in the end because once you get there, you can move mountains.
  • 14. 14 Towards a better definition Values Principles Practices:  Managerial  Technical Artifacts Agile methods
  • 15. 15 My view: agile values  A New, reduced role for manager  B No “Big Upfront” steps  C Iterative development  D Limited, negotiated scope  E Focus on quality, achieved through testing
  • 16. 16 My view: agile principles Organizational  1 Put the customer at the center  2 Accept change  3 Let the team self-organize  4 Maintain a sustainable pace  5 Produce minimal software: • 5.1 Produce minimal functionality • 5.2 Produce only the product requested • 5.3 Develop only code and tests Technical  6 Develop iteratively • 6.1 Produce frequent working iterations • 6.2 Freeze requirements during iterations  7 Treat tests as a key resource: • 7.1 Do not start any new development until all tests pass • 7.2 Test first  8 Express requirements through scenarios
  • 17. 17 Standard form for user stories “As a <user_or_role> I want <business_functionality> so that <business_justification>” Example: “As a customer, I want to see a list of my recent orders, so that I can track my purchases with a company.” Scrum
  • 18. 18 User stories (my view) User stories requirement elicitation but not a fundamental requirement technique. They cannot define the requirements:  Not abstract enough  Too specific  Describe current processes  Do not support evolution User stories are to requirements what tests are to software specification Major application: for validating requirements
  • 20. 20 Adding features Historically, developers of telecommunication software have had trouble managing feature interactions, causing runaway complexity, bugs, cost and schedule overruns, and unfortunate user experiences. Other areas are also facing the problem. Consider “busy treatments” in telephony, such as call forwarding, callee interruption, delayed retry and voice mail. Suppose that we have a tool for specifying and composing such features. Features can fail to come into action, even if their individual description says they should, when they start interacting with other features :  Bob has enabled the “call-forwarding” feature, to Carol. Carol has “do-not- disturb”. Alice calls Bob: the call is forwarded to Carol; her phone rings.  Alice calls a sales group. A sales-group feature forwards the call to the salesperson on duty, Bob. His cellphone is off, so the caller gets Bob’s personal Voice Mail message. It would be better to reactivate the sales-group feature to find another salesperson. Source: Zave* *Abridged, see full citation in my book or original at http://public.research.att.com/~pamela/faq.html
  • 21. 21 User stories (imagined) (#1) As an executive, I want a redirection option so that if my phone is busy the call is redirected to my assistant … (#5) As a system configurator, I want to be able to specify various priorities for “busy” actions .. (#12) As a salesperson, I want to make sure that if a prospect calls while I am in a conversation, the conversation is interrupted so that I can take the call immediately … (#25) As a considerate correspondent, I want to make sure that if a call comes while my phone is busy I get to the option of calling back as soon as the current call is over
  • 22. 22 6.2 Iterativeness: freeze requirements during iteration The closed-window rule: during a sprint, no one may add functionality (or: the sprint is cancelled) Scrum
  • 23. 23 Dual development Early on: build infrastructure (horizontal, lasagne) Later: produce releases H R W E I Y A S TE ?P P I GN E
  • 24. 24 Negotiated scope contract “Write contracts for software development that fix time, costs, and quality but call for an ongoing negotiation of the precise scope of the system. Reduce risk by signing a sequence of short contracts instead of one long one. You can move in the direction of negotiated scope. Big, long contracts can be split in half or thirds, with the optional part to be exercised only if both parties agree. Contracts with high costs for change requests can be written with less scope fixed up front and lower costs for changes” XP Source: Beck 05
  • 25. 25 . 2 The Ugly, The Hype, The Good & The Brilliant: An Assessment
  • 26. 26 The ugly  Rejection of upfront tasks  Particularly: no upfront requirements  User stories as a replacement for abstract requirements  Tests as a replacement for specifications  Feature-based development & ignorance of dependencies  Embedded customer  Coach & method keeper (e.g. Scrum Master) as a separate role  Test-driven development  Dismissal of traditional manager tasks  Dismissal of auxiliary products and non-shippable artifacts  Dismissal of a priori concern for extendibility  Dismissal of a priori concern for reusability  Dismissal of a priori architecture work
  • 27. 27 The indifferent  Pair programming  Open-space working arrangements  Self-organizing teams  Maintaining a sustainable pace  Producing minimal functionality  Planning game, planning poker  Cross-functional teams
  • 28. 28 The good  Acceptance of change  Frequent iterations  Emphasis on working code  Tests as one of the key resources of the project  Constant test regression analysis  No branching  Product (but not user stories!) burndown chart  Daily meeting
  • 29. 29 The brilliant  Short iterations  Closed-window rule  Refactoring (but not as a substitute for design)  Associating a test with every piece of functionality  Continuous integration
  • 30. 30
  • 32. 32 Rhetorical devices  Unverifiable claims  Proof by anecdote  Slander by association  Intimidation  All-or-nothing  Cover-your-behind
  • 34. 34 Reminder: software engineering has laws Example: Boehm, McConnell, Putnam, Capers Jones... Nominal cost & time Time Cost 25%
  • 35. 35 Slander by association: Schwaber & Sutherland  Although the predictive, or waterfall, process is in trouble, many people and organizations continue to try to make it work. and later in the same paragraph:  [A customer was using] services from PricewaterhouseCoopers (PWC). The PWC approach was predictive, or waterfall. The book’s index entry for “Predictive process” reads “See Waterfall ”
  • 36. 36 Catastrophism: Schwaber & Sutherland “You have been ill served by the software industry for 40 years— not purposely, but inextricably. We want to restore the partnership.” Also: every agile author cites the Standish report
  • 37. 37 CYA: the “although” style of agile explanations Schwaber: Although project development teams are on their own, they are not uncontrolled. Cohn: Self-organizing teams are not free from management control. Management chooses what product to build or often who will work on their project, but the teams are nonetheless self-organizing. Neither are they free from influence. … That being said, the fewer constraints or controls put on a team, the better. A common misconception about agile project management approaches is that because of this reliance on self-organizing teams, there is little or no role for leaders of agile teams. Nothing could be further from the truth. In The Biology of Business, Philip Anderson refutes this mistaken assumption: “Self-organization does not mean that workers instead of managers engineer an organization design. It does not mean letting people do whatever they want to do. It means that management commits to guiding the evolution of behaviors that emerge from the interaction of independent agents instead of specifying in advance what effective behavior is.” Self-organizing teams are not free from management control. Management chooses for them what product to build or often chooses who will work on their project, but they are nonetheless self-organizing. Neither are they free from influence. [...] That being said, the fewer constraints or controls put on a team, the better.
  • 38. 38 CYA: Poppendieck Final chapter, “Instructions and Warranty” (chapter 8, pages 179-186) Look for the balance point of the lean principles:  Eliminate waste [chapter 3] does not mean throw away all documentation  Amplify learning [chapter 2] does not mean keep on changing your mind  Decide as late as possible [chapter 3] does not mean procrastinate  (etc.)
  • 39. 39 Beck, first edition To some folks, XP seems like just good common sense. So why the “extreme” in the name? XP takes commonsense principles and practices to extreme levels:  If code reviews are good, we’ll review code all the time (pair programming)  If testing is good, everybody will test all the time (unit testing), even the customers (functional testing)  If design is good, we’ll make it part of everybody’s daily business (refactoring)  …
  • 40. 40 CYA: Beck, second edition There are better ways and worse ways to develop software. Good teams are more alike than they are different. No matter how good or bad your team you can always improve.
  • 41. 41 ACM: The Learning Continues… Questions about this webcast? learning@acm.org ACM Learning Webinars (on-demand archive): http://learning.acm.org/webinar ACM Learning Center: http://learning.acm.org ACM SIGSOFT: http://www.sigsoft.org/ ACM Queue: http://queue.acm.org/