Functional Programming: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
Closures and recursion are at the base of the ''functional programming'' paradigm.
Closures and recursion are at the base of the ''functional programming'' paradigm.


Java 8 introduced [[Java 8 Lambda Expressions#Overview|lambda expressions]], which allow [[Java_8_Lambda_Expressions#Behavior_Parameterization|behavior parameterization]] and functional programming.
Java 8 introduced [[Java 8 Lambda Expressions#Overview|lambda expressions]], which allow [[#Behavior_Parameterization|behavior parameterization]] and functional programming.


=Behavior Parameterization=
=Behavior Parameterization=

Revision as of 16:21, 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.


Closures

Closures