Slide 1

Slide 1 text

Technical Practices through a Kanban Lens Nayan Hajratwala [email protected] @nhajratw

Slide 2

Slide 2 text

Kanban Foundational Principles • Start with what you do now • Agree to pursue evolutionary change • Initially, respect current processes, roles, responsibilities & job titles • Encourage acts of leadership at every level in your organization

Slide 3

Slide 3 text

Kanban Core Practices • Visualize • Limit WIP • Manage flow • Make policies explicit • Implement feedback loops • Improve collaboratively, evolve experimentally (using models)

Slide 4

Slide 4 text

Some Extreme Programming Technical Practices • Pair Programming • Continuous Integration • Simple Design • Collective Code Ownership • TDD • Whole Teams

Slide 5

Slide 5 text

Some Other Technical Practices • Acceptance Test Driven Development (ATDD) • Mob Programming • Clean Code • Continuous Deployment • Feature Toggles • Refactoring • Feature Splitting • Evolutionary Design

Slide 6

Slide 6 text

Continuous Integration

Slide 7

Slide 7 text

Continuous Integration

Slide 8

Slide 8 text

Continuous Integration

Slide 9

Slide 9 text

Continuous Integration Source Code Repository

Slide 10

Slide 10 text

Continuous Integration Source Code Repository Continuous Integration Server triggers

Slide 11

Slide 11 text

Continuous Integration Source Code Repository Continuous Integration Server triggers ➡ checkout code

Slide 12

Slide 12 text

Continuous Integration Source Code Repository Continuous Integration Server triggers ➡ checkout code ➡ compile code

Slide 13

Slide 13 text

Continuous Integration Source Code Repository Continuous Integration Server triggers ➡ checkout code ➡ compile code ➡ run tests

Slide 14

Slide 14 text

Continuous Integration Source Code Repository Continuous Integration Server triggers ➡ checkout code ➡ compile code ➡ run tests ➡ build artifacts

Slide 15

Slide 15 text

Continuous Integration Source Code Repository Continuous Integration Server triggers ➡ checkout code ➡ compile code ➡ run tests ➡ build artifacts ➡ notify team on failure

Slide 16

Slide 16 text

Continuous Integration Source Code Repository Continuous Integration Server triggers ➡ checkout code ➡ compile code ➡ run tests ➡ build artifacts ➡ notify team on failure

Slide 17

Slide 17 text

Continuous Integration Source Code Repository Continuous Integration Server triggers ➡ checkout code ➡ compile code ➡ run tests ➡ build artifacts ➡ notify team on failure Implement feedback loops

Slide 18

Slide 18 text

Continuous Integration

Slide 19

Slide 19 text

Continuous Integration Visualize

Slide 20

Slide 20 text

Continuous Deployment

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

Source Code Repository

Slide 24

Slide 24 text

Build Artifacts + Micro Tests (xUnit) Source Code Repository

Slide 25

Slide 25 text

Build Artifacts + Micro Tests (xUnit) Automated Acceptance Tests (Cucumber, Selenium) Source Code Repository

Slide 26

Slide 26 text

Build Artifacts + Micro Tests (xUnit) Automated Acceptance Tests (Cucumber, Selenium) Source Code Repository Build Environment (Chef, Ansible)

Slide 27

Slide 27 text

Build Artifacts + Micro Tests (xUnit) Automated Acceptance Tests (Cucumber, Selenium) Deploy A/B Source Code Repository Build Environment (Chef, Ansible)

Slide 28

Slide 28 text

Build Artifacts + Micro Tests (xUnit) Automated Acceptance Tests (Cucumber, Selenium) Deploy A/B Smoke Test Source Code Repository Build Environment (Chef, Ansible)

Slide 29

Slide 29 text

Build Artifacts + Micro Tests (xUnit) Automated Acceptance Tests (Cucumber, Selenium) Deploy A/B Smoke Test Source Code Repository Production Build Environment (Chef, Ansible)

Slide 30

Slide 30 text

Build Artifacts + Micro Tests (xUnit) Automated Acceptance Tests (Cucumber, Selenium) Deploy A/B Smoke Test Source Code Repository Production Build Environment (Chef, Ansible) Monitoring

Slide 31

Slide 31 text

Build Artifacts + Micro Tests (xUnit) Automated Acceptance Tests (Cucumber, Selenium) Deploy A/B Smoke Test Source Code Repository Production Build Environment (Chef, Ansible) Monitoring Notify team on failure and/or rollback

Slide 32

Slide 32 text

Build Artifacts + Micro Tests (xUnit) Automated Acceptance Tests (Cucumber, Selenium) Deploy A/B Smoke Test Source Code Repository Production Build Environment (Chef, Ansible) Monitoring Notify team on failure and/or rollback Limit WIP

Slide 33

Slide 33 text

Build Artifacts + Micro Tests (xUnit) Automated Acceptance Tests (Cucumber, Selenium) Deploy A/B Smoke Test Source Code Repository Production Build Environment (Chef, Ansible) Monitoring Notify team on failure and/or rollback Limit WIP Visualize

Slide 34

Slide 34 text

Build Artifacts + Micro Tests (xUnit) Automated Acceptance Tests (Cucumber, Selenium) Deploy A/B Smoke Test Source Code Repository Production Build Environment (Chef, Ansible) Monitoring Notify team on failure and/or rollback Limit WIP Manage flow Visualize

Slide 35

Slide 35 text

Build Artifacts + Micro Tests (xUnit) Automated Acceptance Tests (Cucumber, Selenium) Deploy A/B Smoke Test Source Code Repository Production Build Environment (Chef, Ansible) Monitoring Notify team on failure and/or rollback Limit WIP Manage flow Make policies explicit Visualize

Slide 36

Slide 36 text

Build Artifacts + Micro Tests (xUnit) Automated Acceptance Tests (Cucumber, Selenium) Deploy A/B Smoke Test Source Code Repository Production Build Environment (Chef, Ansible) Monitoring Notify team on failure and/or rollback Limit WIP Manage flow Make policies explicit Implement feedback loops Visualize

Slide 37

Slide 37 text

Feature Toggles

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

Implement feedback loops

Slide 40

Slide 40 text

Manage flow Implement feedback loops

Slide 41

Slide 41 text

Feature Splitting

Slide 42

Slide 42 text

Feature Splitting

Slide 43

Slide 43 text

Feature Splitting A traveller can book a flight

Slide 44

Slide 44 text

??? Feature Splitting A traveller can book a flight

Slide 45

Slide 45 text

Feature Splitting A traveller can book a one-way flight

Slide 46

Slide 46 text

??? Feature Splitting A traveller can book a one-way flight

Slide 47

Slide 47 text

Feature Splitting A traveller can book a one-way flight that starts at DTW

Slide 48

Slide 48 text

??? Feature Splitting A traveller can book a one-way flight that starts at DTW

Slide 49

Slide 49 text

Feature Splitting A traveller can book a one-way flight that starts in DTW and arrives in SAN

Slide 50

Slide 50 text

??? Feature Splitting A traveller can book a one-way flight that starts in DTW and arrives in SAN

Slide 51

Slide 51 text

Feature Splitting A traveller can book a one-way flight that starts in DTW at 10:00 am and arrives in SAN at 1:25 pm

Slide 52

Slide 52 text

Feature Splitting A traveller can book a one-way flight that starts in DTW at 10:00 am and arrives in SAN at 1:25 pm 2 days

Slide 53

Slide 53 text

Feature Splitting A traveller can book a one-way flight that starts in DTW at 10:00 am and arrives in SAN at 1:25 pm 2 days Limit WIP

Slide 54

Slide 54 text

Feature Splitting A traveller can book a one-way flight that starts in DTW at 10:00 am and arrives in SAN at 1:25 pm 2 days Make policies explicit Limit WIP

Slide 55

Slide 55 text

Feature Splitting

Slide 56

Slide 56 text

Feature Splitting

Slide 57

Slide 57 text

Feature Splitting Ship It!

Slide 58

Slide 58 text

Feature Splitting Ship It! Manage flow

Slide 59

Slide 59 text

Whole Team

Slide 60

Slide 60 text

Whole Team

Slide 61

Slide 61 text

Whole Team Initially, respect current processes, roles, responsibilities & job titles

Slide 62

Slide 62 text

Whole Team Initially, respect current processes, roles, responsibilities & job titles Encourage acts of leadership at every level in your organization

Slide 63

Slide 63 text

Whole Team Initially, respect current processes, roles, responsibilities & job titles Encourage acts of leadership at every level in your organization mprove collaboratively, evolve experimentally

Slide 64

Slide 64 text

Whole Team Initially, respect current processes, roles, responsibilities & job titles Encourage acts of leadership at every level in your organization Implement feedback loops mprove collaboratively, evolve experimentally

Slide 65

Slide 65 text

Simple Design

Slide 66

Slide 66 text

1 - Passes All the Tests

Slide 67

Slide 67 text

1 - Passes All the Tests

Slide 68

Slide 68 text

1 - Passes All the Tests Make policies explicit

Slide 69

Slide 69 text

1 - Passes All the Tests Make policies explicit Implement feedback loops

Slide 70

Slide 70 text

2 - Don’t Repeat Yourself (DRY)

Slide 71

Slide 71 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id)

Slide 72

Slide 72 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new

Slide 73

Slide 73 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new user.id = id

Slide 74

Slide 74 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new user.id = id end

Slide 75

Slide 75 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new user.id = id end def create_admin_user(id)

Slide 76

Slide 76 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new user.id = id end def create_admin_user(id) user = User.new

Slide 77

Slide 77 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new user.id = id end def create_admin_user(id) user = User.new user.id = id

Slide 78

Slide 78 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new user.id = id end def create_admin_user(id) user = User.new user.id = id user.admin = true

Slide 79

Slide 79 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new user.id = id end def create_admin_user(id) user = User.new user.id = id user.admin = true end

Slide 80

Slide 80 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new user.id = id end def create_admin_user(id) user = User.new user.id = id user.admin = true end

Slide 81

Slide 81 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new user.id = id user.password_expiration = ‘2017-12-31’ end def create_admin_user(id) user = User.new user.id = id user.admin = true end

Slide 82

Slide 82 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new user.id = id end def create_admin_user(id) user = User.new user.id = id user.admin = true end

Slide 83

Slide 83 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new user.id = id end def create_admin_user(id) user = create_regular_user(id) user.admin = true end

Slide 84

Slide 84 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new user.id = id user.password_expiration = ‘2017-12-31’ end def create_admin_user(id) user = create_regular_user(id) user.admin = true end

Slide 85

Slide 85 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new user.id = id user.password_expiration = ‘2017-12-31’ end def create_admin_user(id) user = create_regular_user(id) user.admin = true end Limit WIP

Slide 86

Slide 86 text

2 - Don’t Repeat Yourself (DRY) def create_regular_user(id) user = User.new user.id = id user.password_expiration = ‘2017-12-31’ end def create_admin_user(id) user = create_regular_user(id) user.admin = true end Limit WIP Agree to pursue evolutionary change

Slide 87

Slide 87 text

3 - Reveal Intent

Slide 88

Slide 88 text

3 - Reveal Intent def process(amt) amt * 0.6 end

Slide 89

Slide 89 text

3 - Reveal Intent def process(amt) amt * 0.6 end def calculate_sales_tax(amount) amount * 0.6 end

Slide 90

Slide 90 text

3 - Reveal Intent def process(amt) amt * 0.6 end MICHIGAN_SALES_TAX_RATE = 0.6 def calculate_sales_tax(amount) amount * MICHIGAN_SALES_TAX_RATE end def calculate_sales_tax(amount) amount * 0.6 end

Slide 91

Slide 91 text

3 - Reveal Intent def process(amt) amt * 0.6 end MICHIGAN_SALES_TAX_RATE = 0.6 def calculate_sales_tax(amount) amount * MICHIGAN_SALES_TAX_RATE end def calculate_sales_tax(amount) amount * 0.6 end Agree to pursue evolutionary change

Slide 92

Slide 92 text

3 - Reveal Intent def process(amt) amt * 0.6 end MICHIGAN_SALES_TAX_RATE = 0.6 def calculate_sales_tax(amount) amount * MICHIGAN_SALES_TAX_RATE end def calculate_sales_tax(amount) amount * 0.6 end Visualize Agree to pursue evolutionary change

Slide 93

Slide 93 text

4 - Minimize Moving Parts A traveller can book a one-way flight that starts in DTW at 10:00 am and arrives in SAN at 1:25 pm

Slide 94

Slide 94 text

4 - Minimize Moving Parts

Slide 95

Slide 95 text

4 - Minimize Moving Parts BookingSystem

Slide 96

Slide 96 text

4 - Minimize Moving Parts BookingSystem Traveller

Slide 97

Slide 97 text

4 - Minimize Moving Parts BookingSystem Traveller OneWayFlight

Slide 98

Slide 98 text

4 - Minimize Moving Parts RoundtripFlight BookingSystem Traveller OneWayFlight

Slide 99

Slide 99 text

4 - Minimize Moving Parts RoundtripFlight BookingSystem Flight Traveller OneWayFlight

Slide 100

Slide 100 text

4 - Minimize Moving Parts RoundtripFlight BookingSystem Flight TimeRange Traveller OneWayFlight

Slide 101

Slide 101 text

4 - Minimize Moving Parts RoundtripFlight BookingSystem Flight TimeRange Traveller OneWayFlight Person

Slide 102

Slide 102 text

4 - Minimize Moving Parts RoundtripFlight BookingSystem Flight TimeRange Traveller OneWayFlight Airport Person

Slide 103

Slide 103 text

4 - Minimize Moving Parts RoundtripFlight BookingSystem Flight TimeRange Traveller OneWayFlight Airport Person

Slide 104

Slide 104 text

4 - Minimize Moving Parts RoundtripFlight BookingSystem Flight TimeRange Traveller OneWayFlight Airport Person

Slide 105

Slide 105 text

4 - Minimize Moving Parts

Slide 106

Slide 106 text

4 - Minimize Moving Parts BookingSystem

Slide 107

Slide 107 text

4 - Minimize Moving Parts BookingSystem Traveller

Slide 108

Slide 108 text

4 - Minimize Moving Parts BookingSystem Traveller OneWayFlight • start_time • end_time • origin • destination

Slide 109

Slide 109 text

4 - Minimize Moving Parts BookingSystem Traveller OneWayFlight • start_time • end_time • origin • destination Limit WIP

Slide 110

Slide 110 text

Collective Code Ownership

Slide 111

Slide 111 text

Collective Code Ownership Component A Component B Component D Component C

Slide 112

Slide 112 text

Collective Code Ownership Component A Component B Component D Component C

Slide 113

Slide 113 text

Collective Code Ownership Component A Component B Component D Component C Encourage acts of leadership at every level in your organization

Slide 114

Slide 114 text

Collective Code Ownership Component A Component B Component D Component C Encourage acts of leadership at every level in your organization Improve collaboratively, evolve experimentally

Slide 115

Slide 115 text

Collective Code Ownership Component A Component B Component D Component C Encourage acts of leadership at every level in your organization Implement feedback loops Improve collaboratively, evolve experimentally

Slide 116

Slide 116 text

Test Driven Development Refactor Green Red

Slide 117

Slide 117 text

Test Driven Development (TDD)

Slide 118

Slide 118 text

Test Driven Development (TDD) describe "tic tac toe" it "starts with an empty board" ttt = TicTacToe.new ttt.board.should == " - - - - - - - - - " end end

Slide 119

Slide 119 text

Test Driven Development (TDD) describe "tic tac toe" it "starts with an empty board" ttt = TicTacToe.new ttt.board.should == " - - - - - - - - - " end end Visualize

Slide 120

Slide 120 text

Test Driven Development (TDD) describe "tic tac toe" it "starts with an empty board" ttt = TicTacToe.new ttt.board.should == " - - - - - - - - - " end end Visualize Limit WIP

Slide 121

Slide 121 text

Test Driven Development (TDD) describe "tic tac toe" it "starts with an empty board" ttt = TicTacToe.new ttt.board.should == " - - - - - - - - - " end end class TicTacToe def initialize @board = [ ['-', '-', '-'], ['-', '-', '-'], ['-', '-', '-'] ] end end

Slide 122

Slide 122 text

Test Driven Development (TDD) describe "tic tac toe" it "starts with an empty board" ttt = TicTacToe.new ttt.board.should == " - - - - - - - - - " end end class TicTacToe def initialize @board = [ ['-', '-', '-'], ['-', '-', '-'], ['-', '-', '-'] ] end end Implement feedback loops

Slide 123

Slide 123 text

Test Driven Development (TDD) describe "tic tac toe" it "starts with an empty board" ttt = TicTacToe.new ttt.board.should == " - - - - - - - - - " end end class TicTacToe BLANK = '-' def initialize @board = [ [BLANK, BLANK, BLANK], [BLANK, BLANK, BLANK], [BLANK, BLANK, BLANK] ] end end

Slide 124

Slide 124 text

Test Driven Development (TDD) describe "tic tac toe" it "starts with an empty board" ttt = TicTacToe.new ttt.board.should == " - - - - - - - - - " end end class TicTacToe BLANK = '-' def initialize @board = [ [BLANK, BLANK, BLANK], [BLANK, BLANK, BLANK], [BLANK, BLANK, BLANK] ] end end Improve collaboratively, evolve experimentally (using models)

Slide 125

Slide 125 text

Test Driven Development (TDD) describe "tic tac toe" it "starts with an empty board" ttt = TicTacToe.new ttt.board.should == " - - - - - - - - - " end it "plays an X first" do ttt = TicTacToe.new ttt.play(0,0) ttt.board.should == " X - - - - - - - - " end end class TicTacToe BLANK = '-' def initialize @board = [ [BLANK, BLANK, BLANK], [BLANK, BLANK, BLANK], [BLANK, BLANK, BLANK] ] end end

Slide 126

Slide 126 text

Test Driven Development (TDD) describe "tic tac toe" it "starts with an empty board" ttt = TicTacToe.new ttt.board.should == " - - - - - - - - - " end it "plays an X first" do ttt = TicTacToe.new ttt.play(0,0) ttt.board.should == " X - - - - - - - - " end end class TicTacToe BLANK = '-' def initialize @board = [ [BLANK, BLANK, BLANK], [BLANK, BLANK, BLANK], [BLANK, BLANK, BLANK] ] end def play(row, column) @board[row][column] = ‘X' end end

Slide 127

Slide 127 text

Test Driven Development (TDD) describe "tic tac toe" it "starts with an empty board" ttt = TicTacToe.new ttt.board.should == " - - - - - - - - - " end it "plays an X first" do ttt = TicTacToe.new ttt.play(0,0) ttt.board.should == " X - - - - - - - - " end end class TicTacToe BLANK = '-' def initialize @board = [ [BLANK, BLANK, BLANK], [BLANK, BLANK, BLANK], [BLANK, BLANK, BLANK] ] end def play(row, column) @board[row][column] = ‘X' end end Make policies explicit

Slide 128

Slide 128 text

Test Driven Development (TDD) describe "tic tac toe" it "starts with an empty board" ttt = TicTacToe.new ttt.board.should == " - - - - - - - - - " end it "plays an X first" do ttt = TicTacToe.new ttt.play(0,0) ttt.board.should == " X - - - - - - - - " end end class TicTacToe BLANK = '-' def initialize @board = [ [BLANK, BLANK, BLANK], [BLANK, BLANK, BLANK], [BLANK, BLANK, BLANK] ] end def play(row, column) @board[row][column] = ‘X' end end Manage flow Make policies explicit

Slide 129

Slide 129 text

Acceptance Test Driven Development

Slide 130

Slide 130 text

No content

Slide 131

Slide 131 text

Red Feature

Slide 132

Slide 132 text

Refactor Green Red Red Feature

Slide 133

Slide 133 text

Refactor Green Red Refactor Green Red Red Feature

Slide 134

Slide 134 text

Refactor Green Red Refactor Green Red Refactor Green Red Red Feature

Slide 135

Slide 135 text

Refactor Green Red Refactor Green Red Refactor Green Red Red Feature …

Slide 136

Slide 136 text

Refactor Green Red Refactor Green Red Refactor Green Red Red Feature … Green

Slide 137

Slide 137 text

Refactor Green Red Refactor Green Red Refactor Green Red Red Feature … Refactor Green

Slide 138

Slide 138 text

Refactor Green Red Refactor Green Red Refactor Green Red Red Feature … Refactor Green

Slide 139

Slide 139 text

Refactor Green Red Refactor Green Red Refactor Green Red Red Feature … Refactor Green Limit WIP

Slide 140

Slide 140 text

Refactor Green Red Refactor Green Red Refactor Green Red Red Feature … Refactor Green Limit WIP Make policies explicit

Slide 141

Slide 141 text

Refactor Green Red Refactor Green Red Refactor Green Red Red Feature … Refactor Green Limit WIP Manage flow Make policies explicit

Slide 142

Slide 142 text

Refactor Green Red Refactor Green Red Refactor Green Red Red Feature … Refactor Green Implement feedback loops Limit WIP Manage flow Make policies explicit

Slide 143

Slide 143 text

Acceptance Test Driven Development (ATDD) Given Toni Traveller is booking a flight When she completes payment Then she receives an email confirmation

Slide 144

Slide 144 text

Acceptance Test Driven Development (ATDD) Given Toni Traveller is booking a flight When she completes payment Then she receives an email confirmation Visualize

Slide 145

Slide 145 text

Acceptance Test Driven Development (ATDD) Given Toni Traveller is booking a flight When she completes payment Then she receives an email confirmation Visualize Improve collaboratively, evolve experimentally (using models)

Slide 146

Slide 146 text

Acceptance Test Driven Development (ATDD) Given Toni Traveller is booking a flight When she completes payment Then she receives an email confirmation Initially, respect current processes, roles, responsibilities & job titles Visualize Improve collaboratively, evolve experimentally (using models)

Slide 147

Slide 147 text

Refactoring

Slide 148

Slide 148 text

Refactoring The process of restructuring existing code without changing it’s external behavior

Slide 149

Slide 149 text

Refactoring (extract method) def calculate_gross_domestic_product(approach) if approach == “income” national_income + indirect_business_taxes + depreciation + net_foreign_factor_income else consumer_spending + business_investment + government_spending + (exports - imports) end end

Slide 150

Slide 150 text

Refactoring (extract method) def calculate_gross_domestic_product(approach) if approach == “income” national_income + indirect_business_taxes + depreciation + net_foreign_factor_income else consumer_spending + business_investment + government_spending + (exports - imports) end end

Slide 151

Slide 151 text

Refactoring (extract method) def calculate_gross_domestic_product(approach) if approach == “income” national_income + indirect_business_taxes + depreciation + net_foreign_factor_income else consumer_spending + business_investment + government_spending + (exports - imports) end end

Slide 152

Slide 152 text

Refactoring (extract method) def calculate_gross_domestic_product(approach) approach == “income” ? gdp_income_approach : gdp_spending_approach end

Slide 153

Slide 153 text

Refactoring (extract method) def calculate_gross_domestic_product(approach) approach == “income” ? gdp_income_approach : gdp_spending_approach end def gdp_income_approach national_income + indirect_business_taxes + depreciation + net_foreign_factor_income end

Slide 154

Slide 154 text

Refactoring (extract method) def calculate_gross_domestic_product(approach) approach == “income” ? gdp_income_approach : gdp_spending_approach end def gdp_income_approach national_income + indirect_business_taxes + depreciation + net_foreign_factor_income end def gdp_spending_approach consumer_spending + business_investment + government_spending + (exports - imports) end

Slide 155

Slide 155 text

Refactoring (extract method) def calculate_gross_domestic_product(approach) approach == “income” ? gdp_income_approach : gdp_spending_approach end def gdp_income_approach national_income + indirect_business_taxes + depreciation + net_foreign_factor_income end def gdp_spending_approach consumer_spending + business_investment + government_spending + (exports - imports) end Agree to pursue evolutionary change

Slide 156

Slide 156 text

Evolutionary Design

Slide 157

Slide 157 text

No content

Slide 158

Slide 158 text

Agree to pursue evolutionary change

Slide 159

Slide 159 text

Start with what you do now Agree to pursue evolutionary change

Slide 160

Slide 160 text

Start with what you do now Agree to pursue evolutionary change Improve collaboratively, evolve experimentally

Slide 161

Slide 161 text

Pair Programming

Slide 162

Slide 162 text

No content

Slide 163

Slide 163 text

No content

Slide 164

Slide 164 text

No content

Slide 165

Slide 165 text

No content

Slide 166

Slide 166 text

No content

Slide 167

Slide 167 text

No content

Slide 168

Slide 168 text

No content

Slide 169

Slide 169 text

Pair Programming

Slide 170

Slide 170 text

Pair Programming Limit WIP

Slide 171

Slide 171 text

Pair Programming Encourage acts of leadership at every level in your organization Limit WIP

Slide 172

Slide 172 text

Pair Programming Encourage acts of leadership at every level in your organization Limit WIP Implement feedback loops

Slide 173

Slide 173 text

Mob Programming

Slide 174

Slide 174 text

Mob Programming

Slide 175

Slide 175 text

Mob Programming

Slide 176

Slide 176 text

Mob Programming Limit WIP

Slide 177

Slide 177 text

Mob Programming Encourage acts of leadership at every level in your organization Limit WIP

Slide 178

Slide 178 text

Mob Programming Encourage acts of leadership at every level in your organization Limit WIP Implement feedback loops

Slide 179

Slide 179 text

Some very unscientific data • 4 - Encourage acts of leadership at every level in your organization • 2 - Agree to pursue evolutionary change • 2 - Initially, respect current processes, roles, responsibilities & job titles • 1 - Start with what you do now • 10 - Implement feedback loops • 8 - Limit WIP • 8 - Improve collaboratively, evolve experimentally (using models) • 5 - Visualize • 5 - Manage flow • 5 - Make policies explicit

Slide 180

Slide 180 text

Photo Credits • https://www.flickr.com/photos/oldben/2322196242 • http://nelsonwells.net/wp-content/uploads/2012/03/pair_programming.jpg • https://camo.githubusercontent.com/ef1defc6a8e99ec339c3de381ec7650757ea4b4c/ 687474703a2f2f637331302e6f72672f737031352f7265736f75726365732f696d616765732f7061697270726f6772616d6d696e672e6a7067 • https://s3.amazonaws.com/insights-images-prod/pairprogramming_f0d3ae7ef121e981e150bfcae4ecb995.jpg • http://blog.zuehlke.com/wp-content/uploads/2013/04/iStock_000006143865Medium-755x521.jpg • http://images.wookmark.com/32334_bedroom-cat-cats-computer-cute-favim.com-128320.jpg • https://www.spkaa.com/wp-content/uploads/2015/10/It_Compiles_Ship_It.png • https://leanpub.com/4rulesofsimpledesign • https://s3.amazonaws.com/wapopartners.com/wweek-wp/wp-content/uploads/2016/03/29165302/1three3.png • http://idahostockimages.photoshelter.com/image/I0000JYOmipH_L7Q • http://i.dailymail.co.uk/i/pix/2012/08/27/article-2194334-14778A33000005DC-112_634x435.jpg • http://blog.crisp.se/2016/01/25/henrikkniberg/making-sense-of-mvp • https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Tree_of_life_SVG.svg/2000px-Tree_of_life_SVG.svg.png • http://cdn8.themanual.com/wp-content/uploads/2014/12/how_to_chop_wood.jpg

Slide 181

Slide 181 text

Technical Practices through a Kanban Lens Nayan Hajratwala [email protected] @nhajratw