As promised, this video removes the duplication in the add and subtract classes by introducing an abstract basse class.
The end result is a use of the template method pattern.
Hmm…it looks like things are taking a while to load. Try again?
TM + © 2013 Vimeo, LLC. All rights reserved.
Made with k in NYC.