Thursday, March 21, 2013

lambda expression



  • Anonymous function

In computer programming, an anonymous function (also function constant, function literal, or lambda function) is a function (or a subroutine) defined, and possibly called, without being bound to an identifier.
Anonymous functions are convenient to pass as an argument to a higher-order function and are ubiquitous in languages with first-class functions such as Haskell.
Anonymous functions are a form of nested function, in that they allow access to the variable in the scope of the containing function (non-local variables).
Unlike named nested functions, they cannot be recursive without the assistance of a fixpoint operator (also known as an anonymous fixpoint or anonymous recursion).
http://en.wikipedia.org/wiki/Anonymous_function



  • Lambda calculus 

Lambda calculus  is a formal system in mathematical logic and computer science for expressing computation by way of variable binding and substitution
http://en.wikipedia.org/wiki/Lambda_calculus



  • What is a lambda expression?

Lambda is an operator used to denote anonymous functions
For more information on Lambda expressions in Java 8 check out the JSR-335
My First Java 8 Lambda
It’s getting late, I have downloaded the Java 8 JDK preview, written three pages of fluff on Lambda expressions but have yet to write one. So here goes, you can download Java 8 from Oracle at http://jdk8.java.net/lambda/.
http://diarmuidmoloney.wordpress.com/2011/12/10/my-first-java-8-lambda-expression/



  • Java 8 - Closures, Lambda Expressions Demystified 

http://frankhinkel.blogspot.com/2012/11/java-8-closures-lambda-expressions.html

Node.js


Node.js
Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
http://nodejs.org/


Node.js
Node.js is a server-side software system designed for writing scalable Internet applications, notably web servers.
Programs are written on the server side in JavaScript, using event-driven, asynchronous I/O to minimize overhead and maximize scalability
http://en.wikipedia.org/wiki/Nodejs