Creative coding

Java functional programming

Many languages support the functional programming paradigm. In functional programming, a function behaves in a similar way to an object - you can take a reference to a particular function, store it in a value, or pass a function into another function as a parameter.

With Java 8, functional interfaces and Lambda function were introduced to make functional programming easier and less verbose in Java.