Description
The book enhances the traditional design patterns with Java’s new functional programming features, such as functional interfaces and lambda expressions. The result is a fresh treatment of design patterns that expands their power and applicability, and reflects current best practice.
The book examines some well-designed classes from the Java class library, using them to illustrate the various object-oriented principles and patterns under discussion. Not only does this approach provide good, practical examples, but you will learn useful library classes you might not otherwise know about.
The design of a simplified banking program is introduced in chapter 1 in a non-object-oriented incarnation and the example is carried through all chapters. You can see the object orientation develop as various design principles are progressively applied throughout the book to produce a refined, fully object-oriented version of the program in the final chapter.
What You’ll Learn
- Create well-designed programs, and identify and improve poorly-designed ones
- Build a professional-level understanding of polymorphism and its use in Java interfaces and class hierarchies
- Apply classic design patterns to Java programming problems while respecting the modern features of the Java language
- Take advantage of classes from the Java library to facilitate the implementation of design patterns in your programs
Reviews
There are no reviews yet.