From charlesreid1

Revision as of 22:25, 5 July 2017 by Admin (talk | contribs) (Created page with "Basic idea of methods: procedural decomposition, separating parts of the task, making code more reusable ==Lambda Expressions== {{Main|Java/Lambdas}} When it comes to dea...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Basic idea of methods: procedural decomposition, separating parts of the task, making code more reusable


Lambda Expressions

When it comes to dealing with functions as first-class objects in the language, Java is much more limited than Python. In fact, it was not until Java 8 that Java finally got lambda expressions, which are ways of defining functions using in-place, shorthand expressions.

Here is the Java tutorial on Lambda expressions: http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html