Functional Programming

TwitterFacebook
Get flash to fully experience Pearltrees
http://blog.jcoglan.com/2011/03/05/translation-from-haskell-to-javascript-of-selected-portions-of-the-best-introduction-to-monads-ive-ever-read/ (With apologies to John Gruber and A Neighborhood of Infinity .) I know, I know, the world does not need yet another introduction to monads (or yet another article complaining that world does not need yet another introduction to monads). So you’ll be glad to know this isn’t one of those, in the sense that it’s not new. I thought I’d write it because, first, monads are worth knowing about, and second, because I want to get into how they relate to asynchronous programming and I want a baseline in JavaScript to help explain things I might write later. It’s also a valuable exercise in thinking in terms of types.

The If Works - Translation from Haskell to JavaScript of selected portions of the best introduction to monads I’ve ever read

Commons Functor - Overview

Commons Functor: Function Objects for Java A functor is a function that can be manipulated as an object, or an object representing a single, generic function. Functors support and encourage a number of powerful programming techniques including: programming in a functional style higher order functions internal iterators reuse and specialization through composition rather than inheritance and overloading generic "callback" or "extension point" APIs generic "filters" or predicate APIs many "behavioral" design patterns, such as Visitor, Strategy, Chain of Responsibility, etc. See the examples for more information on some of these techniques. http://commons.apache.org/sandbox/functor/index.html
One aspect of the Java language that is often overlooked is its classification as an imperative programming language. While fairly ubiquitous through its association with the Java language, imperative programming is not the only choice of programming style, nor is it always the most effective one. In this article, I will explore the potential of incorporating elements of a different programming methodology into your Java development practices; namely that of functional programming (FP).

Functional programming in the Java language

http://www.ibm.com/developerworks/java/library/j-fp/index.html