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

Learn to Code07:46

Code Refactoring 16

Derek Banas ↗

From the creator

Get the Code Here: http://goo.gl/Jt8Lv In this tutorial, I'll answer a question that was sent to me. The question pertains to how can we add additional features to code the right way. When new features are needed it is a bad idea to add new code to older classes. This makes compact easy to understand classes complicated because they break the Single responsibility principle. I'll show you here how the decorator design pattern instead places each special case behavior (Embellishment) into its own class.

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

Keep exploring Learn to Code