SlideShare a Scribd company logo
Lean Thinking
francesco mapelli (@mapelli)
University of Insubria
April 22, 2016
Waterfall Development Process Lean Approach Lean Development References
Waterfall Development Process
Lean Approach
Lean Development
References
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Introduction
Waterfall Approach: Building software it's like building an
house
Analyze requirements
Design
Build
Verify
Mantain
Linear process: each phase completed
before the next one can start
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Phases
Analyze requirements
Who are the stakeholders?
What is this software supposed to do?
Do we have conicting requirements?
...
Requirements should be
Documented
Actionable
Measurable
Testable
Traceable
...
The output is a Product Requirement Document
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Phases
Design
Architecture of the software
How can we satisfy the requirements?
What aspects should we maximize?
Compatibility?
Security?
Performance?
Modularity?
...
Design principles
Output is a Design Description
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Phases
Build
Actual coding
Testing of the single components
Integration between various parts
Output is the software solution
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Phases
Verify
Testing of the entire solution
Fix of the issues
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Phases
Maintain
Support
Maintainance
Other xes...
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Conclusions
Advantages
Easy to understand
Good planning reduces costs
Easy to manage
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Conclusions
Useful for projects with
clear requirements
xed context
clear timeframe
xed resources
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Conclusions
In the real world it often does not work :(
Issues
Not exible
Late feedbacks
High cost for delays
No customer interaction
Decisions are taken far from the moment they will be applied
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Conclusions
Usually building software is not at all like building an house
Answers to a lot of questions changes during the project
What do we want?
Are we going in the right direction?
Does it really work as expected?
Does it really feel as expected?
Do we still have the same resources available?
...
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Conclusions
Let's get inspired by some other kind of production system...
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
History of Manufacturing
USA - Ford: Continuous system for mass production
Model T - 1910s-30s
A bomber an hour - 1944
Based on
Standardization
Assembly line
No variation of the product
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
History of Manufacturing
Japan - Toyota - Toyota Production System (1948-1975)
Initialy called Just In Time
Adapt to changing requirements
Reduce setup costs
Allow small batches
the market requires more customization and personalization
Workers can contribute more
Availability of component is key
Not inventory!
Kanban
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
History of Manufacturing
Kanban
Inspiration: shelf lling policy in a supermarket
When a order comes, the needed parts are taken and
assembled, the ticket is sent upstream to the previous step
the previous steps prepare what is written on the kanban and
send the product with the kanban downstream
if at this stage materials from a precedent step are needed, the
kanban mechanism works the same with the previous-previous
step as well
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
History of Manufacturing
Example
customer asks for a bike
assembly
take the wheels and send the wheel kanban upstream
take the frame and send the frame kanban upstream
assemble the bike and give it to the customer
wheel area
recieve the kanban, prepare a new pair of wheels, attach the
wheel kanban to the wheels
each part needed to build has a kanban, that is sent upstream
frame production area
recieve the frame kanban, prepare a new frame, attach the
kanban to the frame
each part needed to build has a kanban, that is sent upstream
...
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
History of Manufacturing
Lean Manufactoring is a concept expressed in 1990 in the
book The machine that changed the world
In a chapter by John Krafcick, CEO google self driving cars
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Lean Manufacturing Concepts
Lean Manufacturing
Focus on reducing everything that does not provide value
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Lean Manufacturing Concepts
Key Concept: Value
Value is everything the customer is willing to pay for
Value is dened by customer
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Lean Manufacturing Concepts
Key Concept: Waste (MUDA)
Waste is bad and undesirable both from an economical and
ethical point of view
Waste is any activity that does not produce value
Is waste so bad?
Someone has to pay for the waste. This means minor margin
or customer paying more than needed.
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Lean Manufacturing Concepts
The 7 Kind of waste
overproduction
transportation
stocks
motion
waiting
defects
overprocessing
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Waste
Overproduction
Producing items not needed right now
- why?
needed = required to satisfy an order
coming from a customer
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Waste
Transportation
Moving things does not change their value
risk and cost
producing where it costs less then moving where you sell works
only if you think in huge batches: you reduce the cost per unit
and if you produce enough you will have an advantage
so we somehow produce a lot and move things around to
satisfy the process, not the customer
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Waste
stocks
raw materials / uncompleted items / nished goods
storing, counting, and listing items does not change their value
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Waste
motion
Of people or parts during production, useless and risky
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Waste
waiting
goods not being processed
value is not reaching the end of the
ow as fast as possible
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Waste
overprocessing
more work than needed
producing with higher quality than needed
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Lean Principles
Lean Manufacturing principles
1) Specify Value
2) Identify Value Stream
3) Make the Value Stream ow
4) Implement Pull Scheduling
5) Pursue Perfection
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Lean Principles
Specify value
What is value for the customer?
Dened by customer
In a specic time
At a specic price
Represents needs of the customer
Are you willing to pay...
$20 to Bill, so he can add MP3 player to your car?
$20 to John so we can store your car for two days?
$20 to Marie, so we can x the mp3 player Bill installed upside
down?
...
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Lean Principles
Identify Value Stream
each step in the entire production
creates value
creates no value but is (still) needed
Muda type 1
does not create value and it is not needed
Muda type 2
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Lean Principles
Make the Value Stream Flow
remove type 2 waste
work on type 1 waste usually caused by
batch  queue
goods waiting for a next step
meanwhile, value is postponed, we're waiting for the economy
of scale to be happy
rethik process and steps
every aspect: position, assumptions, speed, noise
small improvements can give more benets than New Big
Machines
workers are key pieces of this approach as they know better
their job
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Lean Principles
Bicycle production - traditional
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Lean Principles
Bicycle production - lean
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Lean Principles
Implement pull scheduling
produce something only if a subsequent steps requires so
from production for inventory to production for customer
resources are used only if there is real demand
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Lean Principles
Pursue perfection
focus and iterate
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Example: Cola value ow
Auminum production
australia, bauxite, estraction phase
4tons to ll a truck
factory, 2tons of alumina powder - 30 mins
500k tons to ll a ship container - 2 weeks
travel to norway - 4 weeks
wait in the foundry - 2 months
melted
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Example: Cola value ow
From Aluminium to can
hot rolling, sweden / norway
cold rolling, somwhere else (sweden / germany)
cut and preparation, uk
printing and cap
sorting
shipment to ller
lling
deposit
supermarket
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Example: Cola value ow
Sumary:
Total time of value production: 3 hours
Elapsed: 319 days
lift up: 30 times
14 storage facilities across the world
4 times pack and unpack
24 percent of aluminim lost
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Example: Cola value ow
Why?
A single can is very small
Everything in the ow is very large
Economy of scale requires so
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Introduction
Lean Development
Rethink development with lean principles in mind
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Waste Types
Waste types table
Lean Manufacturing Lean Development
Overproduction Extra features
Transportation Task switching
Inventory Work partially done
Motion Motion
Waiting Waiting
Defects Defects
Overprocessing Extra processes
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Waste Types
Overproduction - Extra Features
Real temptation for Product Owners and Developers
Adding extra features is percieved as harmless, it is not
needs to be tested
needs to be maintained
can contain bugs
becomes obsolete
Cost of development is not always percieved
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Waste Types
Transportation - Task switching
People are often assigned to multiple
projects
Or multiple teams
Or multiple roles
This may be needed in some scenarios
but every context switch creates waste
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Waste Types
Inventory - Work partially done
Uncompleted features
Something is there, so you do not want to remove it
But is not nished so you cannot enable it
Will it really work at the end?
Is code you have spent resources on, but is not producing value
Brings costs and risks for no reason
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Waste Types
Motion
Also, accessibility issue
How far should I go to get the answer?
Artifacts move as well
Requirements
design docs
code
code / feature hando
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Waste Types
Waiting
Each wait postpones the value for the customer
Slower ouput means slower response to request
One of the principles of lean development is to decide as late
as possible, waiting makes this less ecient
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Waste Types
Defects
Waste amount is the impact multiplied the time it goes
undetected
Finding defects early is crucial
test immediatly
iterate often
release in production soon
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Waste Types
Overprocessing - Extra processes
Excessive Paperwork
If there is noone waiting for it, it is a waste
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Principles
Seven Principles
Eliminate waste
Amplify Learning
Decide as late as possible
Deliver as fast as possible
Empower the team
Technical decisions taken by techicals
Late decisions means not having time to review everything
Build integrity in
External and internal
See the whole
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Tools
Tools to...
Eliminate Waste
Map the value stream, nd the blocked areas, correct them
Amplify Learning
Feedback Loops
Iterative processes
Decide as late as possible
Concurrent development
Keep options available
Wait until the last responsible moment
Deliver as fast as possible
Pull system: let people gure out what to do
Kanban or similar signals
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Tools
This course as a kanban board
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Tools
Tools to... (2)
Empower the team
Manager Leader
Cope with complexity Cope with change
Plan and budget Set direction
Organize and sta Align people
Track and control Enable Motivation
hire good people, and leave them alone
If you put fences around people you get sheep
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
Lean from the real world
Stories from the real world
Reduce Waste in bugs
Lean handling of icons and strings
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
References
Bibliography
Lean Thinking - Womack and Jones - part 1
Lean Development - Poppendieck and Poppendieck -
introduction, chapter 1, concepts from other chapters as well
francesco mapelli (@mapelli) University of Insubria
Lean Thinking
Waterfall Development Process Lean Approach Lean Development References
References
Attribution
Diagrams of the bicycle factory layout taken from Lean
Thinking and Strategic Asset Management , MRO Software
Salami picture by André Karwath aka Aka
francesco mapelli (@mapelli) University of Insubria
Lean Thinking

More Related Content

PDF
Software solution - Lean development and Agile methodologies lesson 1
PDF
Agile methoologies and scrum - Lean development and Agile methodologies lesson 3
PPT
Robert Mc Geachy Common Pitfalls Agile
PDF
Leaping from Waterfall to Agility & Agile Innovation
PDF
Sourav_Kumar_SKUM279_Manoj_HYD_My Journey as a Software Testing Professional...
PPTX
Lean Software Development
PPTX
Lean Software Delivery
PDF
Why Even DevOp?
Software solution - Lean development and Agile methodologies lesson 1
Agile methoologies and scrum - Lean development and Agile methodologies lesson 3
Robert Mc Geachy Common Pitfalls Agile
Leaping from Waterfall to Agility & Agile Innovation
Sourav_Kumar_SKUM279_Manoj_HYD_My Journey as a Software Testing Professional...
Lean Software Development
Lean Software Delivery
Why Even DevOp?

What's hot (20)

PPT
Agile Cafe Boulder - Panelist and keynote slides
PDF
Introduction to Agile
PDF
Lean and Kanban-based Software Development
PDF
"We are doing it wrong."
PPT
Pair Programming Presentation
PDF
Pair programming demystified
PPTX
SAD07 - Project Management
PDF
Introducing Pair Programming
PDF
Agile Methods: The Good, the Hype and the Ugly
DOCX
Successful writing at work copyright 2017 cengage learn
PPT
Agile and Startups - What can go wrong - a Case study (Presented at ExpoQA 20...
ODP
Story Points considered harmful – a new look at estimation techniques
PDF
Agile Delivery Powerpoint Presentation Slides
PDF
Lean Software Development
PDF
Lean Product Management User-Centered App Design
KEY
Intro to Lean Software Development
PPT
Sandro Mancuso and David Green: London Software Craftsmanship Community: What...
PPTX
Estimating and planning Agile projects
PPT
Extreme & pair programming Slides ppt
PDF
Pair Programming (2014)
Agile Cafe Boulder - Panelist and keynote slides
Introduction to Agile
Lean and Kanban-based Software Development
"We are doing it wrong."
Pair Programming Presentation
Pair programming demystified
SAD07 - Project Management
Introducing Pair Programming
Agile Methods: The Good, the Hype and the Ugly
Successful writing at work copyright 2017 cengage learn
Agile and Startups - What can go wrong - a Case study (Presented at ExpoQA 20...
Story Points considered harmful – a new look at estimation techniques
Agile Delivery Powerpoint Presentation Slides
Lean Software Development
Lean Product Management User-Centered App Design
Intro to Lean Software Development
Sandro Mancuso and David Green: London Software Craftsmanship Community: What...
Estimating and planning Agile projects
Extreme & pair programming Slides ppt
Pair Programming (2014)
Ad

Viewers also liked (20)

PDF
User stories, estimates, planning, design - Lean development and Agile method...
PDF
Agile and Lean: dalla pratica alla teoria
PPTX
Managing Experiences
PPTX
Participatory action research (PAR) and service-learning: Solving community p...
PDF
1 1leanthinking
PDF
How Values And Habits Become Process Lean Thinking
PDF
Lean 6 Sigma Số 61
PPTX
Engaging_UX
PPTX
The process of lesson development
PDF
Lean 6 Sigma Số 50
PPT
Designing for Dialogue: Persona-fying Healthcare Users
PDF
Lean talks 05.2014 quan ly dong chay gia tri
PDF
The Art of Visualising Software - Simon Brown
PDF
Introduction to lean amy hodgkinson & trevor taylor
PPTX
Introduction to Lean and PDSA Thinking
PDF
Get to know your users using Lean UX
PPT
RESEARCH METHODS LESSON 2
PDF
A brief introduction to agile duong trong tan 2014-06
PPT
Developing A Lean Culture by Gregg Miner
PPT
Lean Thinking in Government Services
User stories, estimates, planning, design - Lean development and Agile method...
Agile and Lean: dalla pratica alla teoria
Managing Experiences
Participatory action research (PAR) and service-learning: Solving community p...
1 1leanthinking
How Values And Habits Become Process Lean Thinking
Lean 6 Sigma Số 61
Engaging_UX
The process of lesson development
Lean 6 Sigma Số 50
Designing for Dialogue: Persona-fying Healthcare Users
Lean talks 05.2014 quan ly dong chay gia tri
The Art of Visualising Software - Simon Brown
Introduction to lean amy hodgkinson & trevor taylor
Introduction to Lean and PDSA Thinking
Get to know your users using Lean UX
RESEARCH METHODS LESSON 2
A brief introduction to agile duong trong tan 2014-06
Developing A Lean Culture by Gregg Miner
Lean Thinking in Government Services
Ad

Similar to Lean Thinking - Lean development and Agile methodologies lesson 2 (20)

PDF
Agile Vs Waterfall Case Study
PDF
Radical Roadmapping - Creating Synchronized Agile Product and Technology Road...
PPT
Jan kennedy - I have an idea - what now? @WBIS2014
PDF
What Comes Next: Perspective From a Serial Founder
PDF
Developing Product-Behavior Fit: UX Research in Product Development by Krysta...
PDF
Continuous Innovation: Going beyond Agile, Lean, and Design Thinking toward a...
PDF
The fourth way: design thinking meets futures thinking | anna roumiantseva | ...
PPTX
#NoProjects - Beyond Projects
PDF
Foursevens on Digital Innovation in Utilities
PDF
Convergent Experiences: Why UX Approaches to Designing Modern Web Systems are...
PPT
PCC2 - How do I incorporate Apple-like design into my products?
PDF
"Considering Research" - Dave Hora @ User Research London 2019
PDF
Learning Journey Circular Design
PDF
Meaningful Technology for Humans: How Strategy Helps to Deliver Real Value fo...
PDF
Every Product Every Cycle Across the Supply Chain
PDF
Design Thinking - Bootcamp
PDF
#Noprojects @Agile Venture Prato 2018
PPTX
What is good design, from One Big Field
PDF
When UX (guy) Meets Operations
PDF
Product design for Non Designers - Montreal Digital Nomad Meetup
Agile Vs Waterfall Case Study
Radical Roadmapping - Creating Synchronized Agile Product and Technology Road...
Jan kennedy - I have an idea - what now? @WBIS2014
What Comes Next: Perspective From a Serial Founder
Developing Product-Behavior Fit: UX Research in Product Development by Krysta...
Continuous Innovation: Going beyond Agile, Lean, and Design Thinking toward a...
The fourth way: design thinking meets futures thinking | anna roumiantseva | ...
#NoProjects - Beyond Projects
Foursevens on Digital Innovation in Utilities
Convergent Experiences: Why UX Approaches to Designing Modern Web Systems are...
PCC2 - How do I incorporate Apple-like design into my products?
"Considering Research" - Dave Hora @ User Research London 2019
Learning Journey Circular Design
Meaningful Technology for Humans: How Strategy Helps to Deliver Real Value fo...
Every Product Every Cycle Across the Supply Chain
Design Thinking - Bootcamp
#Noprojects @Agile Venture Prato 2018
What is good design, from One Big Field
When UX (guy) Meets Operations
Product design for Non Designers - Montreal Digital Nomad Meetup

Recently uploaded (20)

PPT
Organizational Culture and Management.ppt
PDF
Investment Risk Assessment Brief: Zacharia Ali and Associated Entities
PPTX
Daily stand up meeting on the various business
PDF
Budora Case Study: Building Trust in Canada’s Online Cannabis Market
PDF
Business Risk Assessment and Due Diligence Report: Zacharia Ali and Associate...
PDF
Pollitrace pitch deck- Ai powered multiple species
PDF
Decision trees for high uncertainty decisions
PDF
Chapter 1 - Introduction to management.pdf
PPTX
TimeBee vs. Toggl: Which Time Tracking Tool is Best for You?
PPT
chap9.New Product Development product lifecycle.ppt
PDF
4. Finance for non-financial managers.08.08.2025.pdf
PDF
Chapter 3 - Business environment - Final.pdf
PDF
Meme Coin Empire- Launch, Scale & Earn $500K-Month_3.pdf
PDF
Why Has Vertical Farming Recently Become More Economical.pdf
PDF
Why DevOps Teams Are Dropping Spreadsheets for Real-Time Cloud Hygiene.pdf
PPTX
Peerless Plumbing Company-Fort Worth.pptx
PPTX
ENTREPRENEURSHIP..PPT.pptx..1234567891011
PDF
initiate-entrepreneurship-in-healthcare-service-management-in-sierra-leone.pdf
PPTX
Process-and-Ethics-in-Research-1.potatoi
PPT
Chap8. Product & Service Strategy and branding
Organizational Culture and Management.ppt
Investment Risk Assessment Brief: Zacharia Ali and Associated Entities
Daily stand up meeting on the various business
Budora Case Study: Building Trust in Canada’s Online Cannabis Market
Business Risk Assessment and Due Diligence Report: Zacharia Ali and Associate...
Pollitrace pitch deck- Ai powered multiple species
Decision trees for high uncertainty decisions
Chapter 1 - Introduction to management.pdf
TimeBee vs. Toggl: Which Time Tracking Tool is Best for You?
chap9.New Product Development product lifecycle.ppt
4. Finance for non-financial managers.08.08.2025.pdf
Chapter 3 - Business environment - Final.pdf
Meme Coin Empire- Launch, Scale & Earn $500K-Month_3.pdf
Why Has Vertical Farming Recently Become More Economical.pdf
Why DevOps Teams Are Dropping Spreadsheets for Real-Time Cloud Hygiene.pdf
Peerless Plumbing Company-Fort Worth.pptx
ENTREPRENEURSHIP..PPT.pptx..1234567891011
initiate-entrepreneurship-in-healthcare-service-management-in-sierra-leone.pdf
Process-and-Ethics-in-Research-1.potatoi
Chap8. Product & Service Strategy and branding

Lean Thinking - Lean development and Agile methodologies lesson 2

  • 1. Lean Thinking francesco mapelli (@mapelli) University of Insubria April 22, 2016
  • 2. Waterfall Development Process Lean Approach Lean Development References Waterfall Development Process Lean Approach Lean Development References francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 3. Waterfall Development Process Lean Approach Lean Development References Introduction Waterfall Approach: Building software it's like building an house Analyze requirements Design Build Verify Mantain Linear process: each phase completed before the next one can start francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 4. Waterfall Development Process Lean Approach Lean Development References Phases Analyze requirements Who are the stakeholders? What is this software supposed to do? Do we have conicting requirements? ... Requirements should be Documented Actionable Measurable Testable Traceable ... The output is a Product Requirement Document francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 5. Waterfall Development Process Lean Approach Lean Development References Phases Design Architecture of the software How can we satisfy the requirements? What aspects should we maximize? Compatibility? Security? Performance? Modularity? ... Design principles Output is a Design Description francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 6. Waterfall Development Process Lean Approach Lean Development References Phases Build Actual coding Testing of the single components Integration between various parts Output is the software solution francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 7. Waterfall Development Process Lean Approach Lean Development References Phases Verify Testing of the entire solution Fix of the issues francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 8. Waterfall Development Process Lean Approach Lean Development References Phases Maintain Support Maintainance Other xes... francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 9. Waterfall Development Process Lean Approach Lean Development References Conclusions Advantages Easy to understand Good planning reduces costs Easy to manage francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 10. Waterfall Development Process Lean Approach Lean Development References Conclusions Useful for projects with clear requirements xed context clear timeframe xed resources francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 11. Waterfall Development Process Lean Approach Lean Development References Conclusions In the real world it often does not work :( Issues Not exible Late feedbacks High cost for delays No customer interaction Decisions are taken far from the moment they will be applied francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 12. Waterfall Development Process Lean Approach Lean Development References Conclusions Usually building software is not at all like building an house Answers to a lot of questions changes during the project What do we want? Are we going in the right direction? Does it really work as expected? Does it really feel as expected? Do we still have the same resources available? ... francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 13. Waterfall Development Process Lean Approach Lean Development References Conclusions Let's get inspired by some other kind of production system... francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 14. Waterfall Development Process Lean Approach Lean Development References History of Manufacturing USA - Ford: Continuous system for mass production Model T - 1910s-30s A bomber an hour - 1944 Based on Standardization Assembly line No variation of the product francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 15. Waterfall Development Process Lean Approach Lean Development References History of Manufacturing Japan - Toyota - Toyota Production System (1948-1975) Initialy called Just In Time Adapt to changing requirements Reduce setup costs Allow small batches the market requires more customization and personalization Workers can contribute more Availability of component is key Not inventory! Kanban francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 16. Waterfall Development Process Lean Approach Lean Development References History of Manufacturing Kanban Inspiration: shelf lling policy in a supermarket When a order comes, the needed parts are taken and assembled, the ticket is sent upstream to the previous step the previous steps prepare what is written on the kanban and send the product with the kanban downstream if at this stage materials from a precedent step are needed, the kanban mechanism works the same with the previous-previous step as well francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 17. Waterfall Development Process Lean Approach Lean Development References History of Manufacturing Example customer asks for a bike assembly take the wheels and send the wheel kanban upstream take the frame and send the frame kanban upstream assemble the bike and give it to the customer wheel area recieve the kanban, prepare a new pair of wheels, attach the wheel kanban to the wheels each part needed to build has a kanban, that is sent upstream frame production area recieve the frame kanban, prepare a new frame, attach the kanban to the frame each part needed to build has a kanban, that is sent upstream ... francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 18. Waterfall Development Process Lean Approach Lean Development References History of Manufacturing Lean Manufactoring is a concept expressed in 1990 in the book The machine that changed the world In a chapter by John Krafcick, CEO google self driving cars francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 19. Waterfall Development Process Lean Approach Lean Development References Lean Manufacturing Concepts Lean Manufacturing Focus on reducing everything that does not provide value francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 20. Waterfall Development Process Lean Approach Lean Development References Lean Manufacturing Concepts Key Concept: Value Value is everything the customer is willing to pay for Value is dened by customer francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 21. Waterfall Development Process Lean Approach Lean Development References Lean Manufacturing Concepts Key Concept: Waste (MUDA) Waste is bad and undesirable both from an economical and ethical point of view Waste is any activity that does not produce value Is waste so bad? Someone has to pay for the waste. This means minor margin or customer paying more than needed. francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 22. Waterfall Development Process Lean Approach Lean Development References Lean Manufacturing Concepts The 7 Kind of waste overproduction transportation stocks motion waiting defects overprocessing francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 23. Waterfall Development Process Lean Approach Lean Development References Waste Overproduction Producing items not needed right now - why? needed = required to satisfy an order coming from a customer francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 24. Waterfall Development Process Lean Approach Lean Development References Waste Transportation Moving things does not change their value risk and cost producing where it costs less then moving where you sell works only if you think in huge batches: you reduce the cost per unit and if you produce enough you will have an advantage so we somehow produce a lot and move things around to satisfy the process, not the customer francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 25. Waterfall Development Process Lean Approach Lean Development References Waste stocks raw materials / uncompleted items / nished goods storing, counting, and listing items does not change their value francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 26. Waterfall Development Process Lean Approach Lean Development References Waste motion Of people or parts during production, useless and risky francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 27. Waterfall Development Process Lean Approach Lean Development References Waste waiting goods not being processed value is not reaching the end of the ow as fast as possible francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 28. Waterfall Development Process Lean Approach Lean Development References Waste overprocessing more work than needed producing with higher quality than needed francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 29. Waterfall Development Process Lean Approach Lean Development References Lean Principles Lean Manufacturing principles 1) Specify Value 2) Identify Value Stream 3) Make the Value Stream ow 4) Implement Pull Scheduling 5) Pursue Perfection francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 30. Waterfall Development Process Lean Approach Lean Development References Lean Principles Specify value What is value for the customer? Dened by customer In a specic time At a specic price Represents needs of the customer Are you willing to pay... $20 to Bill, so he can add MP3 player to your car? $20 to John so we can store your car for two days? $20 to Marie, so we can x the mp3 player Bill installed upside down? ... francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 31. Waterfall Development Process Lean Approach Lean Development References Lean Principles Identify Value Stream each step in the entire production creates value creates no value but is (still) needed Muda type 1 does not create value and it is not needed Muda type 2 francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 32. Waterfall Development Process Lean Approach Lean Development References Lean Principles Make the Value Stream Flow remove type 2 waste work on type 1 waste usually caused by batch queue goods waiting for a next step meanwhile, value is postponed, we're waiting for the economy of scale to be happy rethik process and steps every aspect: position, assumptions, speed, noise small improvements can give more benets than New Big Machines workers are key pieces of this approach as they know better their job francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 33. Waterfall Development Process Lean Approach Lean Development References Lean Principles Bicycle production - traditional francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 34. Waterfall Development Process Lean Approach Lean Development References Lean Principles Bicycle production - lean francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 35. Waterfall Development Process Lean Approach Lean Development References Lean Principles Implement pull scheduling produce something only if a subsequent steps requires so from production for inventory to production for customer resources are used only if there is real demand francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 36. Waterfall Development Process Lean Approach Lean Development References Lean Principles Pursue perfection focus and iterate francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 37. Waterfall Development Process Lean Approach Lean Development References Example: Cola value ow Auminum production australia, bauxite, estraction phase 4tons to ll a truck factory, 2tons of alumina powder - 30 mins 500k tons to ll a ship container - 2 weeks travel to norway - 4 weeks wait in the foundry - 2 months melted francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 38. Waterfall Development Process Lean Approach Lean Development References Example: Cola value ow From Aluminium to can hot rolling, sweden / norway cold rolling, somwhere else (sweden / germany) cut and preparation, uk printing and cap sorting shipment to ller lling deposit supermarket francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 39. Waterfall Development Process Lean Approach Lean Development References Example: Cola value ow Sumary: Total time of value production: 3 hours Elapsed: 319 days lift up: 30 times 14 storage facilities across the world 4 times pack and unpack 24 percent of aluminim lost francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 40. Waterfall Development Process Lean Approach Lean Development References Example: Cola value ow Why? A single can is very small Everything in the ow is very large Economy of scale requires so francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 41. Waterfall Development Process Lean Approach Lean Development References Introduction Lean Development Rethink development with lean principles in mind francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 42. Waterfall Development Process Lean Approach Lean Development References Waste Types Waste types table Lean Manufacturing Lean Development Overproduction Extra features Transportation Task switching Inventory Work partially done Motion Motion Waiting Waiting Defects Defects Overprocessing Extra processes francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 43. Waterfall Development Process Lean Approach Lean Development References Waste Types Overproduction - Extra Features Real temptation for Product Owners and Developers Adding extra features is percieved as harmless, it is not needs to be tested needs to be maintained can contain bugs becomes obsolete Cost of development is not always percieved francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 44. Waterfall Development Process Lean Approach Lean Development References Waste Types Transportation - Task switching People are often assigned to multiple projects Or multiple teams Or multiple roles This may be needed in some scenarios but every context switch creates waste francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 45. Waterfall Development Process Lean Approach Lean Development References Waste Types Inventory - Work partially done Uncompleted features Something is there, so you do not want to remove it But is not nished so you cannot enable it Will it really work at the end? Is code you have spent resources on, but is not producing value Brings costs and risks for no reason francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 46. Waterfall Development Process Lean Approach Lean Development References Waste Types Motion Also, accessibility issue How far should I go to get the answer? Artifacts move as well Requirements design docs code code / feature hando francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 47. Waterfall Development Process Lean Approach Lean Development References Waste Types Waiting Each wait postpones the value for the customer Slower ouput means slower response to request One of the principles of lean development is to decide as late as possible, waiting makes this less ecient francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 48. Waterfall Development Process Lean Approach Lean Development References Waste Types Defects Waste amount is the impact multiplied the time it goes undetected Finding defects early is crucial test immediatly iterate often release in production soon francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 49. Waterfall Development Process Lean Approach Lean Development References Waste Types Overprocessing - Extra processes Excessive Paperwork If there is noone waiting for it, it is a waste francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 50. Waterfall Development Process Lean Approach Lean Development References Principles Seven Principles Eliminate waste Amplify Learning Decide as late as possible Deliver as fast as possible Empower the team Technical decisions taken by techicals Late decisions means not having time to review everything Build integrity in External and internal See the whole francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 51. Waterfall Development Process Lean Approach Lean Development References Tools Tools to... Eliminate Waste Map the value stream, nd the blocked areas, correct them Amplify Learning Feedback Loops Iterative processes Decide as late as possible Concurrent development Keep options available Wait until the last responsible moment Deliver as fast as possible Pull system: let people gure out what to do Kanban or similar signals francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 52. Waterfall Development Process Lean Approach Lean Development References Tools This course as a kanban board francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 53. Waterfall Development Process Lean Approach Lean Development References Tools Tools to... (2) Empower the team Manager Leader Cope with complexity Cope with change Plan and budget Set direction Organize and sta Align people Track and control Enable Motivation hire good people, and leave them alone If you put fences around people you get sheep francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 54. Waterfall Development Process Lean Approach Lean Development References Lean from the real world Stories from the real world Reduce Waste in bugs Lean handling of icons and strings francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 55. Waterfall Development Process Lean Approach Lean Development References References Bibliography Lean Thinking - Womack and Jones - part 1 Lean Development - Poppendieck and Poppendieck - introduction, chapter 1, concepts from other chapters as well francesco mapelli (@mapelli) University of Insubria Lean Thinking
  • 56. Waterfall Development Process Lean Approach Lean Development References References Attribution Diagrams of the bicycle factory layout taken from Lean Thinking and Strategic Asset Management , MRO Software Salami picture by André Karwath aka Aka francesco mapelli (@mapelli) University of Insubria Lean Thinking