Back Java Functional Programming | Full Course

120+
Created By: Amigoscode
Published At: 2020-02-04
Search Query: Java Lambda
Tags: java functional programming best practices java functional programming in hindi java functional programming tutorial java functional programming example java functional programming exercises java functional programming library java functional programming interview questions java 8 functional programming tutorial functional programming patterns with java 8 functional programming with java java 8 functional programming
Functions are fun. Do you want to turn 20 lines of code into 5, perhaps. Well then you should learn what Java has to offer when it comes to functional programming.

In this course you will learn the power of Java Functional Interfaces and how they can be used to create powerful statements and design patterns.

The beauty of Functional Interfaces is when they are combined with Streams, allowing you to write declarative code.

⭐️Useful links for this course ⭐️
👉🏾Full course also available here: https://amigoscode.com/courses/java-functional-programming
👉🏾Clone repo here: https://github.com/amigoscode/java-functional-programminggit@github.com:amigoscode/spring-boot-security-course.git
👉🏾Join private Facebook group: http://bit.ly/2FbuIkx

⭐️ TABLE OF CONTENTS ⭐️
00:00:00 - Intro
00:02:54 - Quick word before we begin
00:03:36 - Bootstrapping Application
00:06:31 - Imperative Approach
00:13:30 - Declarative Approach
00:19:14 - Java Util Function Package
00:22:55 - Function
00:36:03 - BiFunction
00:43:10 - Consumer
00:48:13 - BiConsumer
00:52:09 - Predicate
01:02:08 - Supplier
01:06:55 - Let me say something
01:07:29 - Intro to Java Streams
01:19:23 - More on Java Streams
01:23:52 - Java Optionals
01:31:19 - Combinator Pattern
01:40:28 - Implementing Combinator Pattern
01:55:34 - Callbacks Like Javascript
02:05:08 - Lambdas
02:11:37 - Primitives
02:15:29 - Properties of Functional Programming
02:20:25 - Let's wrap it up

Oops almost forgot ...
▶️ Don't forget to subscribe | http://bit.ly/2HpF5V8
▶️ Join Closed Facebook Group for discussion and early access videos and courses | http://bit.ly/2FbuIkx
▶️ Follow me on Instagram | http://bit.ly/2TSkA9w

Catch you on the next one...
logo Ask VidTutorAssistant
Comment
or
Question
Your name
Comments with generated responses
@markconley757
2020-04-23

Maybe off topic but what's the reasoning for making the CustomerRegistrationValidator an interface instead of a class?

@amigoscode

Functional

VidTutorAssistant (GPT-4)

Hey @markconley757, thanks for the great question! The reason we made the CustomerRegistrationValidator an interface instead of a class is simply because of flexibility. A class implies that you have a fixed functionality, while an interface promotes flexibility and loose coupling. By using an interface, we can allow multiple classes to implement it and add their own logic to the validation process if needed. This is especially useful if you wish to add or change validation rules in the future without disturbing the existing code. Remember, we're trying to follow the principles of functional programming, and making our validator an interface ensures we follow a key principle - write code that is easy to maintain and change. Hope this clears up your question and keep them coming! Happy coding!