Lean agile pt

  • 950 views
Uploaded on

Lean – The Foundation for Agility Increase Value, Reduce Waste, Improve Flow…talk given at Agile Portugal.

Lean – The Foundation for Agility Increase Value, Reduce Waste, Improve Flow…talk given at Agile Portugal.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
950
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
24
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Joseph W. Yoder Lean – The Foundation for Agility Increase Value, Reduce Waste, Improve Flow… Joseph W. Yoder The Refactory, Inc. joe@refactory.com http://www.refactory.com Talk Originally by Dave Thomas Unfortunately Dave can not be with us. I’m am not going to give Dave’s talk. Rather I will do a Karaoke variation where I take a title and description by someone else (Dave) and put into my words and discuss some ideas about the topic. Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc.Lean vs Agile Page - 1
  • 2. Joseph W. Yoder Agile Software Development Individuals and interactions over processes and tools Working software over comprehensive documentation Customer collaboration over contract negotiation Responding to change over following a plan That is, while there is value in the items on the right, we value the items on the left more. …From the Agile Manifesto Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc. Agile Principles and Practices Scrum, XP, TDD, Refactoring, Regular Feedback, Testing, More Eyes, … Good People! Face-To-Face conversation. Continuous attention to technical excellence! Motivated individuals with the environment and support they need. Retrospectives! Allow Requirements to Change! Embraced Software Evolution as needed! Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc.Lean vs Agile Page - 2
  • 3. Joseph W. Yoder Agile Design Values Core values:  Design Simplicity  Communication  Teamwork  Trust  Satisfying stakeholder needs Keep learning Continuous Feedback Lots of Testing/Validation Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc. Agile Practices - Scrum Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc.Lean vs Agile Page - 3
  • 4. Joseph W. Yoder Agile Practices - XP Scrum picture Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc. Test-Driven Development Requirements Architecture Envisioning Envisioning (days/weeks) (days/weeks) Iteration 0: Envisioning Iteration Modeling (hours) a little bit of modeling then a lot Model Storming of coding (minutes) TDD (hours) Iteration n: Development Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc.Lean vs Agile Page - 4
  • 5. Joseph W. Yoder Test-First Development test fails Write Re(write) Check if production a test test fails code test succeeds 1 or more tests fail all tests Clean up code succeed Check all tests (Refactor) succeed Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc. Test-First Development Rhythm User story-by-story:  Write the simplest test  Run the test and fail  Write the simplest code that will pass the test  Run the test and pass Repeat until a “story” is tested and implemented Design between the keystrokes Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc.Lean vs Agile Page - 5
  • 6. Joseph W. Yoder Test Driven Development Tests don’t always get written first. Tests written & must pass before checking in production code. Write some Check if Re(write) production test fails a test code test fails Clean up code (Refactor) 1 or more tests fail Check all tests succeed all tests succeed Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc. Test-Driven (First) Development Test-Driven Development – work in short cycles of implementing code with tests and make sure that all tests pass. Many Unit Tests written along with other tests. It isnt enough to write tests: you have to run them regularly (many times a day). Developers get immediate feedback on how theyre doing…publish scores and keep track. Additionally, these tests provide invaluable support as the software design is improved. Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc.Lean vs Agile Page - 6
  • 7. Joseph W. Yoder Continuous Integration The system is fully integrated at all times. Daily Integration Tests are ran and only working code is checked into the main code branch. Testing and Builds are done multiple times per day. Any failures are immediately fixed until all tests pass. Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc. Retrospectives are Key 1) What worked well that we do not want to forget for future iterations? 2) What should we do differently? Not what are the bad things or what is broken. Do not focus on negative things. 3) What still puzzles us? Things we cant answer. 4) What did you learn? 5) hopes for the next iteration/release. Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc.Lean vs Agile Page - 7
  • 8. Joseph W. Yoder Lean by Toyota Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc. Lean Development Increase Value, Reduce Waste, Improve Flow… A lean organization understands customer value and focuses its core processes to continuously increase it. Ultimate goal is to provide perfect value to customer and business. Just in Time Practice – don’t do something before you need it. Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc.Lean vs Agile Page - 8
  • 9. Joseph W. Yoder Kanban (看板) Signboard / Billboard Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc. Kanban (看板) Principles The basic principles of Kanban  Limit Work in Process (WIP)  Pull value through (WIP)  Make progress visible  Increase throughput  Fixed Kanban Backlog  Quality is part of the processed (internal) Continuously monitor the above to improve!!! Is this similar to a Retrospective? Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc.Lean vs Agile Page - 9
  • 10. Joseph W. Yoder Is Agile the same as Lean At the core is Lean  Design Simplicity  Communication  Teamwork  Continuous Learning Early Agilest were influenced by Lean, but:  Many get stuck in the process  Many Misconceptions about Agile Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc. Agile Myths Simple solutions are always best. Building in flexibility is always over-engineering. You can change the system fast!!! You don’t want to change … you are not Agile. Don’t worry about the architecture . If I do the Scrum process I will be super productive and it will be easy to duplicate. We can always easily adapt to changing requirements (next requirements). Should not have specialists! Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc.Lean vs Agile Page - 10
  • 11. Joseph W. Yoder Lean vs Agile Common Themes:  People centric approach  Empowered teams  Adaptive planning  Continuous improvement  Retrospective Core principles of Agile are Lean Need to continue to learn and evolve!!! Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc. How Lean Can We Get? Screw It, Let’s Do It!!! Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc.Lean vs Agile Page - 11
  • 12. Joseph W. Yoder Summary Lean really is the foundation of Agile Quick in movement, nimble, Don’t get stuck in the myths Learning is Important (Retrospective) It is ok to adapt the process We should be committed to finding ways to: Increase Value, Reduce Waste, Improve Flow… Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc. Muito Obrigado!!! Lean @ Agile PT – Copyright 2011 Joseph W. Yoder & The Refactory, Inc.Lean vs Agile Page - 12