Tuesday, April 8, 2014

Book: functional programming in java (Java 8 Lambda)

http://pragprog.com/book/vsjava8/functional-programming-in-java




This is one of those rare books who focuses not much on technology, but on methodology, and does it with simple examples that everyone can follow.

Starting from a few simple examples, it will hammer in your head the various reasons why imperative programming often (not always) is dangerous and verbose, and illustrates how to solve the same problem in an elegant, concise and readable functional way using Java 8.

To be perfectly honest, in a few cases I still believed that the imperative way was more readable - at least to my eyes - than the slightly cryptic functional way... yet I got the message, use lambda functions on Collections is the way to go, and not only in Java...









No comments: