Java 8 Lambdas: Pragmatic Functional Programming

  • Publisher: O'Reilly Media ()
  • Length: 182 pages
  • ISBN-10: 1449370772
  • Format: PDF, Epub, Mobi
  • Downloaded: 799

Book Description

If you’re a developer with core Java SE skills, this hands-on book takes you through the language changes in Java 8 triggered by the addition of lambda expressions. You’ll learn through code examples, exercises, and fluid explanations how these anonymous functions will help you write simple, clean, library-level code that solves business problems.

Lambda expressions are a fairly simple change to Java, and the first part of the book shows you how to use them properly. Later chapters show you how lambda functions help you improve performance with parallelism, write simpler concurrent code, and model your domain more accurately, including building better DSLs.

  • Use exercises in each chapter to help you master lambda expressions in Java 8 quickly
  • Explore streams, advanced collections, and other Java 8 library improvements
  • Leverage multicore CPUs and improve performance with data parallelism
  • Use techniques to “lambdify” your existing codebase or library code
  • Learn practical solutions for lambda expression unit testing and debugging
  • Implement SOLID principles of object-oriented programming with lambdas
  • Write concurrent applications that efficiently perform message passing and non-blocking I/O

Meet the author

Richard is an empirical technologist and solver of deep-dive technical problems. He has professionally worked on static analysis problems, verifying part of a compiler and developing advanced automated bug detection technology. More recently his career has been focussed on data analytics for high performance computing. He is a leader in the London Java Community, sits on their JCP Committee and organises the Adopt-a-JSR programs for Lambdas and Date and Time in Java 8. Richard is also a known conference speaker, having talked at JavaOne, DevoxxUK and JAX London. He obtained a PhD in Computer Science from The University of Warwick where his research focussed on compiler theory.

Customer Reviews

1.0 out of 5 starsPoorly written” by ANDERSSON, MARTIN

To be fair, I stopped reading the book on page 72 when the author was at the top of a rage fueled String concatenating collector implementation. Up until page 72, he has barely talked about the core purpose of a collector and how this “thing” differentiates from an ordinary reduce operation. Yet, he will have tortured your mind with many examples of both using code that will hurt your eyes, leaving you clueless with more questions than answers.

The entire book has been one big downfall with an ever increasing submission of fancy words and cool copy-paste syntax. There is a very small focus on technique, most of the times the rationale is left out and I’m left wondering if there has been any thought behind the design of the book at all. The content seem to be random at points.

5.0 out of 5 starsVery good Book” by Lyju

I would strongly recommend this book for anyone who wants to start working with java 8.
Very well written and easy to understand. The examples are simple and to the point.

5.0 out of 5 starsshort concise and effective” by Harsh Sondhi “hsondhi”

love this book, good intro to java8. one who has used java 6 its quick overview about changes in trend…oop to functional programming.

Free Download Link (PDF - Epub - Mobi)

Download PDF Download EPUB
Tags:   ·