Sitemap

Functional Programming in JAVA

--

using functions to the best effect for creating clean and maintainable software

Overview

Functional programming is a programming paradigm in which we try to bind everything in pure mathematical functions style.

Get Abhishek Kumar Yadav’s stories in your inbox

Join Medium for free to get updates from this writer.

The ideal in functional programming is what is known as pure functions. A pure function is one whose results are dependent only upon the input parameters, and whose operation initiates no side effect, that is, makes no external impact besides the return value.

How to Functional Programming

The java.util.function.Function interface is a key component of the Java 8 functional programming API

In java we use method references, lambda expressions to achieve functional programming.

--

--