Learning Java 9 - Functional Programming [Video]

Learning Java 9 - Functional Programming [Video]

James Cross

2 customer reviews
Learn functional programming with JAVA 9, through examples containing generic data
Mapt Subscription
FREE
$30.00/m after trial
Video
$18.75
RRP $124.99
Save 84%
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$18.75
$29.99 p/m after trial
RRP $124.99
Subscription
Video
Start 14 Day Trial

Frequently bought together


Learning Java 9 - Functional Programming [Video] Book Cover
Learning Java 9 - Functional Programming [Video]
$ 124.99
$ 18.75
Learning Java 9 - Databases and Multithreading in Java [Video] Book Cover
Learning Java 9 - Databases and Multithreading in Java [Video]
$ 124.99
$ 18.75
Buy 2 for $35.00
Save $214.98
Add to Cart

Video Description

Functional programming is a programming paradigm, and it's all about programming with functions! But this doesn't explain the most important aspect: how FP is different from other paradigms, and what makes it a (potentially) better way to write programs. The paradigm makes programs easier to reason with because they're deterministic, since one specific input will always give you the same output.

To kick-start this learning experience, we explain the use of generic data structures in Java, along with a number of practical examples, such as implementing a Pair class, and using a generic comparator function to sort a list of generic objects with an explanation of the need for generics, followed by practical use cases. Moving on from generics to functional programming, we explain the use of generic functions in Java, along with some common usage patterns. To conclude, we discuss what functional programming is, and the benefits we can get from using it, before moving on to a couple real-life examples. We start with a simple list of data points, before using a traditional for loop to first filter, sort, manipulate, and then finally reduce the list of data points. We will then write a similar example using functional programming, providing a perfect example of some of the benefits it provides when working with data sets.

This course will teach you one of the most powerful elements of the Java programming language, to help you start writing programs by coding the base functions needed and combining these functions into higher-level ones, repeating the process until you have a "single function" corresponding to the program you're building. Given their transparency, they can be reused to build other programs without any modifications, which saves time and allows you to focus on the further development of your project. From learning how to write more readable functional code, to processing discrete data sets using the stream interface and then writing your own Lambdas, this course has it all!

All the code and supporting files for this course are available on Github at - https://github.com/PacktPublishing/Learning-Java-9---Functional-Programming-v-

Style and Approach

In this tutorial, each section starts with an introduction to the terms and concepts covered in that chapter. It quickly progresses to contrast an object-oriented approach with a functional approach using numerous code examples.

Video Preview

What You Will Learn

  • Start coding the required base functions and combine these functions into higher-level ones
  • Have a single function corresponding to the program you're building.
  • Build other programs without any modifications to save time and allow you to focus on the further development of your project.
  • Write more readable functional code, to process discrete data sets using the stream interface, then write your own Lambdas

Authors

Video Details

ISBN 139781788628839
Course Length2 hours and 3 minutes
Read More
From 2 reviews

Read More Reviews

Recommended for You

Learning Java 9 - Databases and Multithreading in Java [Video] Book Cover
Learning Java 9 - Databases and Multithreading in Java [Video]
$ 124.99
$ 18.75
Learn Design Patterns with Java [Video] Book Cover
Learn Design Patterns with Java [Video]
$ 124.99
$ 18.75
A RESTful API Node Exercise for Beginners JavaScript and JQuery [Video] Book Cover
A RESTful API Node Exercise for Beginners JavaScript and JQuery [Video]
$ 186.99
$ 28.05
AJAX JavaScript XHR and Fetch [Video] Book Cover
AJAX JavaScript XHR and Fetch [Video]
$ 186.99
$ 28.05
A JavaScript Game Exercise Built from Scratch to Catch Objects [Video] Book Cover
A JavaScript Game Exercise Built from Scratch to Catch Objects [Video]
$ 186.99
$ 28.05
Flutter - An Advanced Course [Video] Book Cover
Flutter - An Advanced Course [Video]
$ 18.99
$ 2.85