Functional Programming: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:


Prior to Java 8, behavior parameterization was possible with [[Java_Language#Anonymous_Class|anonymous classes]].
Prior to Java 8, behavior parameterization was possible with [[Java_Language#Anonymous_Class|anonymous classes]].
=Function=


=Closures=
=Closures=

Revision as of 16:22, 21 March 2018

Internal

Overview

Closures and recursion are at the base of the functional programming paradigm.

Java 8 introduced lambda expressions, which allow behavior parameterization and functional programming.

Behavior Parameterization

Prior to Java 8, behavior parameterization was possible with anonymous classes.

Function

Closures

Closures