Code Refactoring

C
Charlie BergConsultant at Tactical Business Partners
Code Refactoring Charlie Berg [email_address]
What Is Refactoring ,[object Object],[object Object],[object Object],[object Object],[object Object]
Why Refactor? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Why Refactor? ,[object Object],[object Object],[object Object],[object Object],[object Object]
When to Refactor? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
When  Not  to Refactor ,[object Object],[object Object]
Costs of  Not  Refactoring ,[object Object]
Refactor Opportunities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Refactor Opportunities ,[object Object],[object Object],[object Object],[object Object]
Refactor Opportunities ,[object Object],[object Object],[object Object],[object Object]
Refactor Opportunities ,[object Object],[object Object],[object Object],[object Object],[object Object]
Refactor Opportunities ,[object Object],[object Object],[object Object],[object Object]
Refactor Opportunities ,[object Object],[object Object],[object Object],[object Object]
Refactor Opportunities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Refactor Opportunities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Summary ,[object Object],[object Object],[object Object],[object Object],[object Object]
1 of 16

Recommended

Refactoring: Improve the design of existing code by
Refactoring: Improve the design of existing codeRefactoring: Improve the design of existing code
Refactoring: Improve the design of existing codeValerio Maggio
4.5K views43 slides
Principles in Refactoring by
Principles in RefactoringPrinciples in Refactoring
Principles in RefactoringChamnap Chhorn
3.4K views18 slides
Refactoring - An Introduction by
Refactoring - An IntroductionRefactoring - An Introduction
Refactoring - An IntroductionGiorgio Vespucci
6.6K views40 slides
Code smells and remedies by
Code smells and remediesCode smells and remedies
Code smells and remediesMd.Mojibul Hoque
3.8K views65 slides
2CPP12 - Method Overriding by
2CPP12 - Method Overriding2CPP12 - Method Overriding
2CPP12 - Method OverridingMichael Heron
2.4K views20 slides
Code Refactoring by
Code RefactoringCode Refactoring
Code Refactoringkim.mens
4.2K views81 slides

More Related Content

What's hot

Bad Code Smells by
Bad Code SmellsBad Code Smells
Bad Code Smellskim.mens
4.9K views91 slides
Legacy Coderetreat @Budapest 2013 02 16 by
Legacy Coderetreat @Budapest 2013 02 16Legacy Coderetreat @Budapest 2013 02 16
Legacy Coderetreat @Budapest 2013 02 16Adi Bolboaca
406 views22 slides
Improving Software Quality Using Object Oriented Design Principles by
Improving Software Quality Using Object Oriented Design PrinciplesImproving Software Quality Using Object Oriented Design Principles
Improving Software Quality Using Object Oriented Design PrinciplesDr. Syed Hassan Amin
1.6K views34 slides
Refactoring by
RefactoringRefactoring
RefactoringRicardo Terra
1.7K views64 slides
OCA Java SE 8 Exam Chapter 1 Java Building Blocks by
OCA Java SE 8 Exam Chapter 1 Java Building BlocksOCA Java SE 8 Exam Chapter 1 Java Building Blocks
OCA Java SE 8 Exam Chapter 1 Java Building Blocksİbrahim Kürce
4.6K views50 slides
C# coding standards, good programming principles & refactoring by
C# coding standards, good programming principles & refactoringC# coding standards, good programming principles & refactoring
C# coding standards, good programming principles & refactoringEyob Lube
11.2K views30 slides

What's hot(20)

Bad Code Smells by kim.mens
Bad Code SmellsBad Code Smells
Bad Code Smells
kim.mens4.9K views
Legacy Coderetreat @Budapest 2013 02 16 by Adi Bolboaca
Legacy Coderetreat @Budapest 2013 02 16Legacy Coderetreat @Budapest 2013 02 16
Legacy Coderetreat @Budapest 2013 02 16
Adi Bolboaca406 views
Improving Software Quality Using Object Oriented Design Principles by Dr. Syed Hassan Amin
Improving Software Quality Using Object Oriented Design PrinciplesImproving Software Quality Using Object Oriented Design Principles
Improving Software Quality Using Object Oriented Design Principles
OCA Java SE 8 Exam Chapter 1 Java Building Blocks by İbrahim Kürce
OCA Java SE 8 Exam Chapter 1 Java Building BlocksOCA Java SE 8 Exam Chapter 1 Java Building Blocks
OCA Java SE 8 Exam Chapter 1 Java Building Blocks
İbrahim Kürce4.6K views
C# coding standards, good programming principles & refactoring by Eyob Lube
C# coding standards, good programming principles & refactoringC# coding standards, good programming principles & refactoring
C# coding standards, good programming principles & refactoring
Eyob Lube11.2K views
Object Oriented Programming Lab Manual by Abdul Hannan
Object Oriented Programming Lab Manual Object Oriented Programming Lab Manual
Object Oriented Programming Lab Manual
Abdul Hannan12.3K views
Java se 8 fundamentals by megharajk
Java se 8 fundamentalsJava se 8 fundamentals
Java se 8 fundamentals
megharajk866 views
Chapter 2 - Basic Elements of Java by Adan Hubahib
Chapter 2 - Basic Elements of JavaChapter 2 - Basic Elements of Java
Chapter 2 - Basic Elements of Java
Adan Hubahib2.8K views
Lambda Expressions in C# From Beginner To Expert - Jaliya Udagedara by Jaliya Udagedara
Lambda Expressions in C# From Beginner To Expert - Jaliya UdagedaraLambda Expressions in C# From Beginner To Expert - Jaliya Udagedara
Lambda Expressions in C# From Beginner To Expert - Jaliya Udagedara
Jaliya Udagedara3.3K views
Design Patterns by imedo.de
Design PatternsDesign Patterns
Design Patterns
imedo.de901 views

Viewers also liked

The Decorator Pattern by
The Decorator PatternThe Decorator Pattern
The Decorator PatternAkshat Vig
3.4K views11 slides
Introduction to Design Pattern by
Introduction to Design  PatternIntroduction to Design  Pattern
Introduction to Design PatternSanae BEKKAR
17K views31 slides
Design patterns by
Design patternsDesign patterns
Design patternsabhisheksagi
14.9K views28 slides
Refactoring by
RefactoringRefactoring
RefactoringArtem Tabalin
10.3K views102 slides
Design Patterns這樣學就會了:入門班 Day1 教材 by
Design Patterns這樣學就會了:入門班 Day1 教材Design Patterns這樣學就會了:入門班 Day1 教材
Design Patterns這樣學就會了:入門班 Day1 教材teddysoft
108.9K views78 slides
Design Patterns Illustrated by
Design Patterns IllustratedDesign Patterns Illustrated
Design Patterns IllustratedHerman Peeren
42.7K views53 slides

Viewers also liked(8)

The Decorator Pattern by Akshat Vig
The Decorator PatternThe Decorator Pattern
The Decorator Pattern
Akshat Vig3.4K views
Introduction to Design Pattern by Sanae BEKKAR
Introduction to Design  PatternIntroduction to Design  Pattern
Introduction to Design Pattern
Sanae BEKKAR17K views
Design patterns by abhisheksagi
Design patternsDesign patterns
Design patterns
abhisheksagi14.9K views
Design Patterns這樣學就會了:入門班 Day1 教材 by teddysoft
Design Patterns這樣學就會了:入門班 Day1 教材Design Patterns這樣學就會了:入門班 Day1 教材
Design Patterns這樣學就會了:入門班 Day1 教材
teddysoft108.9K views
Design Patterns Illustrated by Herman Peeren
Design Patterns IllustratedDesign Patterns Illustrated
Design Patterns Illustrated
Herman Peeren42.7K views
Design Patterns - 01 Introduction and Decorator Pattern by eprafulla
Design Patterns - 01 Introduction and Decorator PatternDesign Patterns - 01 Introduction and Decorator Pattern
Design Patterns - 01 Introduction and Decorator Pattern
eprafulla4.6K views
Design Patterns by soms_1
Design PatternsDesign Patterns
Design Patterns
soms_114.2K views

Similar to Code Refactoring

Bad Smells in Code by
Bad Smells in CodeBad Smells in Code
Bad Smells in CodeÖzge Nur KOÇ
26 views33 slides
Refactoring Tips by Martin Fowler by
Refactoring Tips by Martin FowlerRefactoring Tips by Martin Fowler
Refactoring Tips by Martin FowlerIgor Crvenov
24.1K views66 slides
Bade Smells in Code by
Bade Smells in CodeBade Smells in Code
Bade Smells in CodeWill Shen
3K views33 slides
Agile korea 2013 유석문 by
Agile korea 2013 유석문Agile korea 2013 유석문
Agile korea 2013 유석문Sangcheol Hwang
2.4K views34 slides
Refactoring by
RefactoringRefactoring
RefactoringXavier Fornés Arrabal
301 views54 slides
Few minutes To better Code - Refactoring by
Few minutes To better Code - RefactoringFew minutes To better Code - Refactoring
Few minutes To better Code - RefactoringDiaa Al-Salehi
318 views16 slides

Similar to Code Refactoring(20)

Refactoring Tips by Martin Fowler by Igor Crvenov
Refactoring Tips by Martin FowlerRefactoring Tips by Martin Fowler
Refactoring Tips by Martin Fowler
Igor Crvenov24.1K views
Bade Smells in Code by Will Shen
Bade Smells in CodeBade Smells in Code
Bade Smells in Code
Will Shen3K views
Agile korea 2013 유석문 by Sangcheol Hwang
Agile korea 2013 유석문Agile korea 2013 유석문
Agile korea 2013 유석문
Sangcheol Hwang2.4K views
Few minutes To better Code - Refactoring by Diaa Al-Salehi
Few minutes To better Code - RefactoringFew minutes To better Code - Refactoring
Few minutes To better Code - Refactoring
Diaa Al-Salehi318 views
Workshop - The Little Pattern That Could.pdf by TobiasGoeschel
Workshop - The Little Pattern That Could.pdfWorkshop - The Little Pattern That Could.pdf
Workshop - The Little Pattern That Could.pdf
TobiasGoeschel120 views
Object-oriented programming 3.pptx by Adikhan27
Object-oriented programming 3.pptxObject-oriented programming 3.pptx
Object-oriented programming 3.pptx
Adikhan2712 views
Software Patterns by bonej010
Software PatternsSoftware Patterns
Software Patterns
bonej0101.2K views
4 pillars of OOPS CONCEPT by Ajay Chimmani
4 pillars of OOPS CONCEPT4 pillars of OOPS CONCEPT
4 pillars of OOPS CONCEPT
Ajay Chimmani13.4K views

Recently uploaded

Java Platform Approach 1.0 - Picnic Meetup by
Java Platform Approach 1.0 - Picnic MeetupJava Platform Approach 1.0 - Picnic Meetup
Java Platform Approach 1.0 - Picnic MeetupRick Ossendrijver
25 views39 slides
PharoJS - Zürich Smalltalk Group Meetup November 2023 by
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023Noury Bouraqadi
113 views17 slides
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa... by
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...The Digital Insurer
28 views18 slides
[2023] Putting the R! in R&D.pdf by
[2023] Putting the R! in R&D.pdf[2023] Putting the R! in R&D.pdf
[2023] Putting the R! in R&D.pdfEleanor McHugh
38 views127 slides
Future of Learning - Yap Aye Wee.pdf by
Future of Learning - Yap Aye Wee.pdfFuture of Learning - Yap Aye Wee.pdf
Future of Learning - Yap Aye Wee.pdfNUS-ISS
38 views11 slides

Recently uploaded(20)

PharoJS - Zürich Smalltalk Group Meetup November 2023 by Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi113 views
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa... by The Digital Insurer
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...
[2023] Putting the R! in R&D.pdf by Eleanor McHugh
[2023] Putting the R! in R&D.pdf[2023] Putting the R! in R&D.pdf
[2023] Putting the R! in R&D.pdf
Eleanor McHugh38 views
Future of Learning - Yap Aye Wee.pdf by NUS-ISS
Future of Learning - Yap Aye Wee.pdfFuture of Learning - Yap Aye Wee.pdf
Future of Learning - Yap Aye Wee.pdf
NUS-ISS38 views
Future of Learning - Khoong Chan Meng by NUS-ISS
Future of Learning - Khoong Chan MengFuture of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan Meng
NUS-ISS31 views
The details of description: Techniques, tips, and tangents on alternative tex... by BookNet Canada
The details of description: Techniques, tips, and tangents on alternative tex...The details of description: Techniques, tips, and tangents on alternative tex...
The details of description: Techniques, tips, and tangents on alternative tex...
BookNet Canada110 views
Spesifikasi Lengkap ASUS Vivobook Go 14 by Dot Semarang
Spesifikasi Lengkap ASUS Vivobook Go 14Spesifikasi Lengkap ASUS Vivobook Go 14
Spesifikasi Lengkap ASUS Vivobook Go 14
Dot Semarang35 views
Understanding GenAI/LLM and What is Google Offering - Felix Goh by NUS-ISS
Understanding GenAI/LLM and What is Google Offering - Felix GohUnderstanding GenAI/LLM and What is Google Offering - Felix Goh
Understanding GenAI/LLM and What is Google Offering - Felix Goh
NUS-ISS39 views
Data-centric AI and the convergence of data and model engineering: opportunit... by Paolo Missier
Data-centric AI and the convergence of data and model engineering:opportunit...Data-centric AI and the convergence of data and model engineering:opportunit...
Data-centric AI and the convergence of data and model engineering: opportunit...
Paolo Missier29 views
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum... by NUS-ISS
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
NUS-ISS28 views
Web Dev - 1 PPT.pdf by gdsczhcet
Web Dev - 1 PPT.pdfWeb Dev - 1 PPT.pdf
Web Dev - 1 PPT.pdf
gdsczhcet52 views
Photowave Presentation Slides - 11.8.23.pptx by CXL Forum
Photowave Presentation Slides - 11.8.23.pptxPhotowave Presentation Slides - 11.8.23.pptx
Photowave Presentation Slides - 11.8.23.pptx
CXL Forum126 views
MemVerge: Memory Viewer Software by CXL Forum
MemVerge: Memory Viewer SoftwareMemVerge: Memory Viewer Software
MemVerge: Memory Viewer Software
CXL Forum118 views
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen... by NUS-ISS
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
NUS-ISS23 views
MemVerge: Past Present and Future of CXL by CXL Forum
MemVerge: Past Present and Future of CXLMemVerge: Past Present and Future of CXL
MemVerge: Past Present and Future of CXL
CXL Forum110 views
Liqid: Composable CXL Preview by CXL Forum
Liqid: Composable CXL PreviewLiqid: Composable CXL Preview
Liqid: Composable CXL Preview
CXL Forum121 views
Empathic Computing: Delivering the Potential of the Metaverse by Mark Billinghurst
Empathic Computing: Delivering  the Potential of the MetaverseEmpathic Computing: Delivering  the Potential of the Metaverse
Empathic Computing: Delivering the Potential of the Metaverse
Mark Billinghurst449 views

Code Refactoring