SlideShare ist ein Scribd-Unternehmen logo
1 von 125
Downloaden Sie, um offline zu lesen
Refactoring Fest
          Naresh Jain
     naresh@agilefaqs.com



  Licensed Under Creative Commons by Naresh Jain
                                                   1
Tutorial Schedule


What, Why, When and How... Refactor?
How to Refactor to Patterns
How to deal with Legacy Code?
Refactoring Hands-on session




             Licensed Under Creative Commons by Naresh Jain
                                                              2
Three Golden Rules


Once and only once [DRY]
Express intent
Tell, don’t ask




                  Licensed Under Creative Commons by Naresh Jain
                                                                   3
Definitions




Licensed Under Creative Commons by Naresh Jain
                                                 4
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest
Refactoring Fest

Weitere ähnliche Inhalte

Andere mochten auch

Agile Requirements Management
Agile Requirements ManagementAgile Requirements Management
Agile Requirements ManagementAlexey Krivitsky
 
Project estimates. And fallacies
Project estimates. And fallaciesProject estimates. And fallacies
Project estimates. And fallaciesAlexey Krivitsky
 
Пример внедрения Agile в крупном проекте. Как не следует внедрять Agile
Пример внедрения Agile в крупном проекте. Как не следует внедрять AgileПример внедрения Agile в крупном проекте. Как не следует внедрять Agile
Пример внедрения Agile в крупном проекте. Как не следует внедрять AgileAlexey Krivitsky
 
Обогащение командного взаимодействия. Общение в стиле коучинг
Обогащение командного взаимодействия. Общение в стиле коучингОбогащение командного взаимодействия. Общение в стиле коучинг
Обогащение командного взаимодействия. Общение в стиле коучингAlexey Krivitsky
 
Redistributable intro To Scrum, Russian
Redistributable intro To Scrum, RussianRedistributable intro To Scrum, Russian
Redistributable intro To Scrum, RussianAlexey Krivitsky
 
Agile and Scrum for ORSCers
Agile and Scrum for ORSCersAgile and Scrum for ORSCers
Agile and Scrum for ORSCersAlexey Krivitsky
 

Andere mochten auch (10)

Agile Requirements Management
Agile Requirements ManagementAgile Requirements Management
Agile Requirements Management
 
Project estimates. And fallacies
Project estimates. And fallaciesProject estimates. And fallacies
Project estimates. And fallacies
 
Stop asking when
Stop asking whenStop asking when
Stop asking when
 
Пример внедрения Agile в крупном проекте. Как не следует внедрять Agile
Пример внедрения Agile в крупном проекте. Как не следует внедрять AgileПример внедрения Agile в крупном проекте. Как не следует внедрять Agile
Пример внедрения Agile в крупном проекте. Как не следует внедрять Agile
 
Agile Metrics
Agile MetricsAgile Metrics
Agile Metrics
 
Retrospectives Advices
Retrospectives AdvicesRetrospectives Advices
Retrospectives Advices
 
Обогащение командного взаимодействия. Общение в стиле коучинг
Обогащение командного взаимодействия. Общение в стиле коучингОбогащение командного взаимодействия. Общение в стиле коучинг
Обогащение командного взаимодействия. Общение в стиле коучинг
 
Redistributable intro To Scrum, Russian
Redistributable intro To Scrum, RussianRedistributable intro To Scrum, Russian
Redistributable intro To Scrum, Russian
 
Scrum And Business
Scrum And BusinessScrum And Business
Scrum And Business
 
Agile and Scrum for ORSCers
Agile and Scrum for ORSCersAgile and Scrum for ORSCers
Agile and Scrum for ORSCers
 

Mehr von Alexey Krivitsky

Driving the second wave of Agile revolution with #OrgTopologies
Driving the second wave of Agile revolution with #OrgTopologiesDriving the second wave of Agile revolution with #OrgTopologies
Driving the second wave of Agile revolution with #OrgTopologiesAlexey Krivitsky
 
Org Topologies at Scrum Day Europe 2022, Amsterdam
Org Topologies at Scrum Day Europe 2022, AmsterdamOrg Topologies at Scrum Day Europe 2022, Amsterdam
Org Topologies at Scrum Day Europe 2022, AmsterdamAlexey Krivitsky
 
Organizational Topologies: a roadmap towards a resilient and adaptive product...
Organizational Topologies: a roadmap towards a resilient and adaptive product...Organizational Topologies: a roadmap towards a resilient and adaptive product...
Organizational Topologies: a roadmap towards a resilient and adaptive product...Alexey Krivitsky
 
Improve your Product Backlog Refinement (PBR) Process
Improve your Product Backlog Refinement (PBR) ProcessImprove your Product Backlog Refinement (PBR) Process
Improve your Product Backlog Refinement (PBR) ProcessAlexey Krivitsky
 
#lego4scrum with Large-Scale Scrum (LeSS)
#lego4scrum with Large-Scale Scrum (LeSS)#lego4scrum with Large-Scale Scrum (LeSS)
#lego4scrum with Large-Scale Scrum (LeSS)Alexey Krivitsky
 
Powerful interventions for agile coaching
Powerful interventions for agile coachingPowerful interventions for agile coaching
Powerful interventions for agile coachingAlexey Krivitsky
 
LeSS simulation with LEGO at #agileee 2017. (lego for scrum)
LeSS simulation with LEGO at #agileee 2017. (lego for scrum)LeSS simulation with LEGO at #agileee 2017. (lego for scrum)
LeSS simulation with LEGO at #agileee 2017. (lego for scrum)Alexey Krivitsky
 
Studying organizational complexity and its effects on scaling agility
Studying organizational complexity and its effects on scaling agilityStudying organizational complexity and its effects on scaling agility
Studying organizational complexity and its effects on scaling agilityAlexey Krivitsky
 
Understanding Complexity of Organizational and System Dynamics
Understanding Complexity of Organizational and System DynamicsUnderstanding Complexity of Organizational and System Dynamics
Understanding Complexity of Organizational and System DynamicsAlexey Krivitsky
 
Complexity of organizational design and its effect scaling agility
Complexity of organizational design and its effect scaling agilityComplexity of organizational design and its effect scaling agility
Complexity of organizational design and its effect scaling agilityAlexey Krivitsky
 
Agile Coaching Canvas: dream up, co-create and share your agile coaching visi...
Agile Coaching Canvas: dream up, co-create and share your agile coaching visi...Agile Coaching Canvas: dream up, co-create and share your agile coaching visi...
Agile Coaching Canvas: dream up, co-create and share your agile coaching visi...Alexey Krivitsky
 
Dejirafication: free your process from tools
Dejirafication: free your process from toolsDejirafication: free your process from tools
Dejirafication: free your process from toolsAlexey Krivitsky
 
Agile Coaching Canvas at #agile2016
Agile Coaching Canvas at #agile2016Agile Coaching Canvas at #agile2016
Agile Coaching Canvas at #agile2016Alexey Krivitsky
 
Dejirafication - clean your process
Dejirafication - clean your processDejirafication - clean your process
Dejirafication - clean your processAlexey Krivitsky
 
Agile Retrospective Kickstarter @Riga
Agile Retrospective Kickstarter @RigaAgile Retrospective Kickstarter @Riga
Agile Retrospective Kickstarter @RigaAlexey Krivitsky
 
Kickstart Your Retrospectives with a Cheat Sheet
Kickstart Your Retrospectives with a Cheat SheetKickstart Your Retrospectives with a Cheat Sheet
Kickstart Your Retrospectives with a Cheat SheetAlexey Krivitsky
 
How to grow learning multi-site agile organizations
How to grow learning multi-site agile organizationsHow to grow learning multi-site agile organizations
How to grow learning multi-site agile organizationsAlexey Krivitsky
 
Certified Scrum Product Owner: class desk, posters and photos
Certified Scrum Product Owner: class desk, posters and photosCertified Scrum Product Owner: class desk, posters and photos
Certified Scrum Product Owner: class desk, posters and photosAlexey Krivitsky
 

Mehr von Alexey Krivitsky (20)

Driving the second wave of Agile revolution with #OrgTopologies
Driving the second wave of Agile revolution with #OrgTopologiesDriving the second wave of Agile revolution with #OrgTopologies
Driving the second wave of Agile revolution with #OrgTopologies
 
Org Topologies at Scrum Day Europe 2022, Amsterdam
Org Topologies at Scrum Day Europe 2022, AmsterdamOrg Topologies at Scrum Day Europe 2022, Amsterdam
Org Topologies at Scrum Day Europe 2022, Amsterdam
 
Organizational Topologies: a roadmap towards a resilient and adaptive product...
Organizational Topologies: a roadmap towards a resilient and adaptive product...Organizational Topologies: a roadmap towards a resilient and adaptive product...
Organizational Topologies: a roadmap towards a resilient and adaptive product...
 
Improve your Product Backlog Refinement (PBR) Process
Improve your Product Backlog Refinement (PBR) ProcessImprove your Product Backlog Refinement (PBR) Process
Improve your Product Backlog Refinement (PBR) Process
 
#lego4scrum with Large-Scale Scrum (LeSS)
#lego4scrum with Large-Scale Scrum (LeSS)#lego4scrum with Large-Scale Scrum (LeSS)
#lego4scrum with Large-Scale Scrum (LeSS)
 
Culture follows structure
Culture follows structureCulture follows structure
Culture follows structure
 
Powerful interventions for agile coaching
Powerful interventions for agile coachingPowerful interventions for agile coaching
Powerful interventions for agile coaching
 
LeSS simulation with LEGO at #agileee 2017. (lego for scrum)
LeSS simulation with LEGO at #agileee 2017. (lego for scrum)LeSS simulation with LEGO at #agileee 2017. (lego for scrum)
LeSS simulation with LEGO at #agileee 2017. (lego for scrum)
 
Studying organizational complexity and its effects on scaling agility
Studying organizational complexity and its effects on scaling agilityStudying organizational complexity and its effects on scaling agility
Studying organizational complexity and its effects on scaling agility
 
Understanding Complexity of Organizational and System Dynamics
Understanding Complexity of Organizational and System DynamicsUnderstanding Complexity of Organizational and System Dynamics
Understanding Complexity of Organizational and System Dynamics
 
Complexity of organizational design and its effect scaling agility
Complexity of organizational design and its effect scaling agilityComplexity of organizational design and its effect scaling agility
Complexity of organizational design and its effect scaling agility
 
Agile Coaching Canvas: dream up, co-create and share your agile coaching visi...
Agile Coaching Canvas: dream up, co-create and share your agile coaching visi...Agile Coaching Canvas: dream up, co-create and share your agile coaching visi...
Agile Coaching Canvas: dream up, co-create and share your agile coaching visi...
 
Dejirafication: free your process from tools
Dejirafication: free your process from toolsDejirafication: free your process from tools
Dejirafication: free your process from tools
 
Agile Coaching Canvas at #agile2016
Agile Coaching Canvas at #agile2016Agile Coaching Canvas at #agile2016
Agile Coaching Canvas at #agile2016
 
Dejirafication - clean your process
Dejirafication - clean your processDejirafication - clean your process
Dejirafication - clean your process
 
Agile Retrospective Kickstarter @Riga
Agile Retrospective Kickstarter @RigaAgile Retrospective Kickstarter @Riga
Agile Retrospective Kickstarter @Riga
 
Agile Coaching Canvas
Agile Coaching CanvasAgile Coaching Canvas
Agile Coaching Canvas
 
Kickstart Your Retrospectives with a Cheat Sheet
Kickstart Your Retrospectives with a Cheat SheetKickstart Your Retrospectives with a Cheat Sheet
Kickstart Your Retrospectives with a Cheat Sheet
 
How to grow learning multi-site agile organizations
How to grow learning multi-site agile organizationsHow to grow learning multi-site agile organizations
How to grow learning multi-site agile organizations
 
Certified Scrum Product Owner: class desk, posters and photos
Certified Scrum Product Owner: class desk, posters and photosCertified Scrum Product Owner: class desk, posters and photos
Certified Scrum Product Owner: class desk, posters and photos
 

Kürzlich hochgeladen

MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?Olivia Kresic
 
India Consumer 2024 Redacted Sample Report
India Consumer 2024 Redacted Sample ReportIndia Consumer 2024 Redacted Sample Report
India Consumer 2024 Redacted Sample ReportMintel Group
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607dollysharma2066
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africaictsugar
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfJos Voskuil
 
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaoncallgirls2057
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailAriel592675
 
Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Kirill Klimov
 
IoT Insurance Observatory: summary 2024
IoT Insurance Observatory:  summary 2024IoT Insurance Observatory:  summary 2024
IoT Insurance Observatory: summary 2024Matteo Carbone
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCRashishs7044
 
8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCR8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCRashishs7044
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyotictsugar
 
Innovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfInnovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfrichard876048
 
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCRashishs7044
 
International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...ssuserf63bd7
 
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckPitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckHajeJanKamps
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesKeppelCorporation
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationAnamaria Contreras
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis UsageNeil Kimberley
 

Kürzlich hochgeladen (20)

MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?
 
India Consumer 2024 Redacted Sample Report
India Consumer 2024 Redacted Sample ReportIndia Consumer 2024 Redacted Sample Report
India Consumer 2024 Redacted Sample Report
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africa
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdf
 
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detail
 
Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024
 
IoT Insurance Observatory: summary 2024
IoT Insurance Observatory:  summary 2024IoT Insurance Observatory:  summary 2024
IoT Insurance Observatory: summary 2024
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
 
8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCR8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCR
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyot
 
Innovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfInnovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdf
 
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
 
Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)
 
International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...
 
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckPitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation Slides
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement Presentation
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage
 

Refactoring Fest