Implementing Design Patterns Using Java 8 Lambda
By Jose Paumard
Course info



Course info



Description
As a Java developer, mastering the standard design patterns from the Gang of Four book allows you to create better business applications, more robust and easier to maintain in the long run. In this course, Implementing Design Patterns Using Java 8 Lambda, you will learn how you can leverage the tools Java 8 added to the platform to write better code: easier to read and with better performances. These tools bring several functional programming paradigms to the Java language: function chaining and composition, and partial application. First, you will study how these tools have been used to improve the JDK itself through several examples including the Comparator API. Then you will see how you can use the same approach to implement several patterns on live demo examples, including the Factory, the Builder, the Singleton, and the Registry, following the principles of clean code. You will even implement the Visitor pattern in a functional and non-intrusive way. Finally, you will apply those principles to create your own Validator, purely functional and fluent. Mastering these techniques will help you creating performant, readable and versatile Java applications.
Section Introduction Transcripts
Course Overview
(Music) Hello, my name is Jose. I'm a Java champion and Java Rock Star, and I'm so happy to present my new course, Implementing Design Patterns Using Java 8 Lambda. This course shows you how to leverage the functional patterns brought by Java 8 to implement the classical patterns from the famous Gang of Four book. First, you will see how those functional patterns have been used to improve the JDK itself, on consumers, predicates, and functions, and also on comparatives. Then you will see how the same techniques can be used on your applications, where the patterns are much more complex to implement. You will see the builder, the registry, and one of the most complex ones, the visitor. Once this is done, you will create your own purely functional and fluent validator. Functional programming, chaining, and composition of functions, PowerShell applications, all those topics are not easy to master. Mix them with the classical design patterns and you will get a complex subject. So let me take you through all this. I can't wait to see what you will be able to create with those new tools.