Code Refactoring 16
Channel:
Subscribers:
1,330,000
Published on ● Video Link: https://www.youtube.com/watch?v=__-rstffCLs
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.
Other Videos By Derek Banas
2013-03-09 | Java Recursion |
2013-03-07 | Linked List in Java 2 |
2013-03-03 | Linked List in Java |
2013-03-01 | Stacks and Queues |
2013-02-28 | Java Sort Algorithm |
2013-02-24 | Java Algorithms |
2013-02-21 | MVC Java Tutorial |
2013-02-15 | Mark of the Ninja Review |
2013-02-11 | Code Refactoring 18 |
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 |
Tags:
decorator design pattern
design patterns
decorator pattern in java
design patterns decorator
decorator design pattern java
decorator design patterns
decorator pattern
Java (programming Language)