Java 8 Lambdas
Functional Programming for the Masses
Publisher: O'Reilly Media
Released: March 2014
Pages: 182

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
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyJava 8 Lambdas
 
4.8

(based on 8 reviews)

Ratings Distribution

  • 5 Stars

     

    (6)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Concise (6)
  • Easy to understand (6)
  • Well-written (6)
  • Helpful examples (5)
  • Accurate (4)

Cons

    Best Uses

    • Intermediate (8)
    • Expert (3)
      • Reviewer Profile:
      • Developer (7)

    Reviewed by 8 customers

    Sort by

    Displaying reviews 1-8

    Back to top

     
    4.0

    Clear and Fine

    By Michael Pan

    from Taipei, Taiwan

    Verified Buyer

    Pros

    • Concise
    • Easy to understand

    Cons

      Best Uses

      • Intermediate

      Comments about oreilly Java 8 Lambdas:

      Straightforward descriptions,
      Lack of runnable codes for small example.

       
      5.0

      Lambdas for the Day to Day developer

      By Diabolical Developer

      from London, UK

      About Me Developer

      Verified Reviewer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Well-written

      Cons

        Best Uses

        • Intermediate
        • Novice

        Comments about oreilly Java 8 Lambdas:

        Like most Java developers who's been embedded in the world of Object Oriented development and design, the new world of functional programming presents learning challenge.

        Thankfully this book doesn't derail the learning experience by trying to explain lambda calculus and category theory but instead takes you through a set of guided explanations that help transition your thinking from the Java of yesterday to the Java of today.

        Within the first 5 chapters or so you'll be up and running with Lambdas and using them in the most common use case scenarios (manipulating collections). I was Map Reducing like a boss before I even knew it and I didn't care whether I really had a handle on the formal terminology or not.

         
        5.0

        Fantastic introduction to lambdas

        By arkangelofkaos

        from London, UK

        About Me Developer

        Verified Reviewer

        Pros

        • Concise
        • Easy to understand
        • Helpful examples

        Cons

          Best Uses

          • Intermediate
          • Novice

          Comments about oreilly Java 8 Lambdas:

          I had the pleasure of doing a technical review for this book and Richard has done an excellent job.
          This is an ideal book for any Java developer looking to learn how to harness the power of Lambdas in their code.
          I would particularly recommend it for anyone with limited experience of functional programming and/or closures.

          (1 of 1 customers found this review helpful)

           
          5.0

          Excellent intro & discussion of Lambdas

          By Rick G

          from Alabama

          About Me Developer

          Verified Reviewer

          Pros

          • Concise
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Intermediate

            Comments about oreilly Java 8 Lambdas:

            I'm a big fan of Functional Programming and a working Java developer at JDK 6 for app server compatibility. That's where I'm coming from.

            This is an EXCELLENT book for developers who are thoroughly familiar with good ol' Java and want to know more about the promise of fp style programming in the Java ecosystem. The book is exactly as long as it needs to be. Explanations are brief but edifying, code samples are useful. The discussion is a nice mix of Hows and Whys (Whies?), along with some tempting Whats. The attitude of the prose is helpful, conspiratorial and confident.

            If you're looking for a single-serving introduction to Java 8 Lambdas, I don't think you'll find one better than this. Another excellent resource is Brian Goetz's State of the Lambda, found here: http://cr.openjdk.java.net/~briangoetz/lambda/lambda-state-final.html .

             
            5.0

            Complete and easy to understand

            By Igor

            from Birkenhead, UK

            About Me Developer

            Verified Buyer

            Pros

            • Accurate
            • Concise
            • Easy to understand
            • Straight To The Point
            • Well-written

            Cons

              Best Uses

              • Expert
              • Intermediate

              Comments about oreilly Java 8 Lambdas:

              This book is what I was expecting. Covers only lambdas, so no other stuff from Java 8 is included, but it does fully explain them.

              I cannot comment about the exercises as I bought it as early release and they were not complete.

               
              4.0

              Well written book: read it!

              By Nicola Sereno

              from Roma, Italy

              About Me Designer, Developer

              Verified Buyer

              Pros

              • Accurate
              • Helpful examples
              • Well-written

              Cons

                Best Uses

                • Intermediate

                Comments about oreilly Java 8 Lambdas:

                Well written book to approach Java 8 new features.
                I would recommend.

                 
                5.0

                Java 8 Lambdas is functional

                By bunkertor

                from Hightstown, NJ

                About Me Developer

                Verified Reviewer

                Pros

                • Accurate
                • Concise
                • Easy to understand
                • Helpful examples
                • Well-written

                Cons

                • Needs More Pictures

                Best Uses

                • Expert
                • Intermediate

                Comments about oreilly Java 8 Lambdas:

                This is really helpful for learning the new functional style in Java 8.

                (3 of 3 customers found this review helpful)

                 
                5.0

                Great introduction to Java's lambdas

                By Sadiq

                from Cambridge, UK

                About Me Developer

                Pros

                • Easy to understand
                • Helpful examples
                • Well-written

                Cons

                  Best Uses

                  • Expert
                  • Intermediate

                  Comments about oreilly Java 8 Lambdas:

                  Great introduction to Java's lambdas as well as their supporting additions to Java 8.

                  Looking forward to the rest of the Early Access Release.

                  Displaying reviews 1-8

                  Back to top

                   
                  Buy 2 Get 1 Free Free Shipping Guarantee
                  Buying Options
                  Immediate Access - Go Digital what's this?
                  Ebook: $23.99
                  Formats:  ePub, Mobi, PDF
                  Print & Ebook: $32.99
                  Print: $29.99