Code Refactoring 8
Channel:
Subscribers:
1,330,000
Published on ● Video Link: https://www.youtube.com/watch?v=1Q9ISmCTygU
Get the Code: http://goo.gl/RrA3a
In this part of my code refactoring tutorial, I'll show you how to eliminate duplicate code using the template method pattern.
When objects perform similar steps in the same order, that is a sign that a template method is needed. To use it implement the similar code in a template method and allow subclasses to override the behavior that varies.
Other Videos By Derek Banas
2013-02-09 | Code Refactoring 17 |
2013-02-08 | Code Refactoring 16 |
2013-02-07 | Code Refactoring 15 |
2013-02-03 | Code Refactoring 14 |
2013-02-02 | Code Refactoring 13 |
2013-01-31 | Code Refactoring 12 |
2013-01-29 | Code Refactoring 11 |
2013-01-27 | Don't Starve Game |
2013-01-25 | Code Refactoring 10 |
2013-01-24 | Code Refactoring 9 |
2013-01-23 | Code Refactoring 8 |
2013-01-21 | Install Eclipse for Java |
2013-01-19 | Code Refactoring 7 |
2013-01-18 | Code Refactoring 6 |
2013-01-16 | Code Refactoring 5 |
2013-01-13 | Code Refactoring 4 |
2013-01-11 | Code Refactoring 3 |
2013-01-10 | Code Refactoring 2 |
2013-01-06 | Code Refactoring |
2013-01-03 | Object Oriented Design 11 |
2012-12-31 | Object Oriented Design 10 |
Tags:
Code Refactoring
template design pattern
template method
design pattern template method
template method pattern
software development patterns
Java (programming Language)