Raoul-Gabriel Urma has worked as a software engineer for Oracle's Java Platform Group, Google's Python team, Ebay, and Goldman Sachs as well as for several startup projects. He's currently completing a PhD in Computer Science at the University of Cambridge and is a regular speaker and instructor. Mario Fusco is a senior software engineer at Red Hat working on Drools, the JBoss rule engine. He created the open source library lambdaj, an internal Java DSL for manipulating collections in a functional way. Alan Mycroft is Professor of Computer Science at the University of Cambridge, where he researches programming languages, their semantics, optimization and implementation. He is a co-founder and Trustee of the Raspberry Pi Foundation.
You can follow Raoul and Mario on Twitter at @raoulUK and @mariofusco.
While the term "lambda expression" may sound abstract and academic, Java 8 Lambdas can have a big impact on how you program every day. In simplest terms, a lambda expression is a function—a bit of code—that you can pass to another method as an argument. Thus, you can cope with changing requirements by using a behavior, represented by a lambda, as a parameter. Java 8's functional programming features, like lambdas and the new Stream API that enables a cleaner way to iterate through collections, can help you write concise, maintainable code that scales easily and performs well on multicore architectures.
Java 8 in Action is a clearly-written guide to Java 8 lambdas and functional programming in Java. It begins with a practical introduction to the structure and benefits of lambda expressions in real-world Java code. The book then introduces the Stream API and shows how it can make collections-related code radically easier to understand and maintain. Along the way, you'll discover new FP-oriented design patterns with Java 8 for code reuse, code readability, exception handling, data manipulation, and concurrency. For developers also exploring other functional languages on the JVM, the book concludes with a quick survey of useful functional features in Scala.
發表於2024-05-20
Java 8 in Action 2024 pdf epub mobi 電子書 下載
如果一開始學習Java是從Java 8以下的版本學習的,這本Java 8實戰值得一讀,Java 8相對於Java 7及之前的版本代碼優雅太多,結閤現在web業務前後端分離的Spring Boot後端框架,通過Java 8可以寫齣精煉、優雅的代碼。 本書全麵的介紹瞭Java 8的各種寫法,第一部分、第二部分屬於必...
評分 評分 評分這點東西根本不值當寫成一本書。 幾篇連續的博客足以完成這個任務,這個任務適閤寫成幾篇連續的博客。 一本書的內容應該比這個多比這個深。比這個多比這個深的內容纔適閤寫成一本書。 一定要多寫文字湊夠評論字數要求,為瞭湊夠評論字數要求多寫瞭這些無用的話。 其實我想說的...
評分這點東西根本不值當寫成一本書。 幾篇連續的博客足以完成這個任務,這個任務適閤寫成幾篇連續的博客。 一本書的內容應該比這個多比這個深。比這個多比這個深的內容纔適閤寫成一本書。 一定要多寫文字湊夠評論字數要求,為瞭湊夠評論字數要求多寫瞭這些無用的話。 其實我想說的...
圖書標籤: Java lambda 編程 計算機 軟件開發 Java8 8 英文原版
函數式編程的講解非常清晰。感謝
評分在java10發布的時候復習一下
評分很全
評分其實應該叫「FP in Java 8」更閤適,CompletableFuture類大概是目前最實用的類瞭。
評分1. tail recursion沒有優化意料之外 2. immutable這個概念真是無處不在
Java 8 in Action 2024 pdf epub mobi 電子書 下載