Overview
Explore a conference talk that reimagines Gang of Four design patterns using Java 8 lambda expressions. Discover how higher-order functions can simplify and streamline common object-oriented patterns, eliminating unnecessary complexity. Through live coding examples, learn to implement functional alternatives to strategy, template, concatenation, chain of responsibility, and other patterns. Gain insights from Java Champion Mario Fusco on leveraging Java 8 features to write more concise and expressive code. Delve into advanced topics like function parsing, Java 9 methods, and creating a Java interpreter using functional programming concepts.
Syllabus
Introduction
Background
Common vocabulary
Simple example
Static method
Runnable method
Strategy pattern
Template pattern
Concatenation pattern
Chain of responsibility pattern
Function parsing pattern
Java 9 method
Java interpreter
Binary operator
Taught by
Devoxx