Book Image

Hands-On Functional Programming with Java [Video]

By : Hristijan Stojkoski
5 (1)
Book Image

Hands-On Functional Programming with Java [Video]

5 (1)
By: Hristijan Stojkoski

Overview of this book

Functional programming, a popular programming paradigm used to simplify many tasks, will help you write flexible and succinct code. This paradigm makes programs easier to reason with because they're deterministic (one specific input will always give you the same output). This course takes a thought-leadership approach, gently introduces you to Functional Programming, and takes you all the way to becoming a master of the paradigm. You'll then learn how to work with higher-order functions, lambda functions, collections and more. You'll learn how to apply the best data structures and algorithms that optimize functions and also how to reuse and refactor functional blocks of code. This course is updated to Java 12 so that you will be ahead of the crowd. By the end of the course, you will have mastered the concepts regarding functional programming along with OOP, to build robust and highly testable applications. The code files for this course are available at - https://github.com/PacktPublishing/Hands-On-Functional-Programming-with-Java
Table of Contents (6 chapters)
Chapter 1
Understanding Functional Programming
Content Locked
Section 4
Lambda Expression (Lambda Version of Example A)
This video will walk you through the basic syntax of lambda expressions, their uses and how they replace anonymous classes. - Understand what lambda expressions are - Explore the example code that implements multithreading and uses lambda expression instead of anonymous class - Spot the differences between the anonymous class example and the lambda expression example