tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code11:00

Code Refactoring 8

Derek Banas ↗

From the creator

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.

Published 2013-01-24 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code