Functional Programming in Java: Harnessing the Power Of Java 8 Lambda Expressions (Paperback)
Venkat Subramaniam
- 出版商: Pragmatic Bookshelf
- 出版日期: 2014-03-25
- 定價: $1,300
- 售價: 6.0 折 $780
- 語言: 英文
- 頁數: 196
- 裝訂: Paperback
- ISBN: 1937785467
- ISBN-13: 9781937785468
-
相關分類:
Java 程式語言
-
其他版本:
Functional Programming in Java: Harness the Power of Streams and Lambda Expressions 2nd Edition
買這商品的人也買了...
-
$1,488Emergent Design: The Evolutionary Nature of Professional Software Development (Hardcover)
-
$1,400$1,330 -
$680$537 -
$580$458 -
$580$458 -
$400$380 -
$880$695 -
$650$553 -
$100$95 -
$300$285 -
$480$408 -
$520$411 -
$580$458 -
$780$616 -
$1,368$1,296 -
$599$569 -
$680$578 -
$620$490 -
$1,575$1,496 -
$100$95 -
$300$234 -
$1,860$1,767 -
$580$452 -
$420$332 -
$560$442
相關主題
商品描述
Intermediate level, for programmers fairly familiar with Java, but new to the functional style of programming and lambda expressions.
Get ready to program in a whole new way. Functional Programming in Java will help you quickly get on top of the new, essential Java 8 language features and the functional style that will change and improve your code. This short, targeted book will help you make the paradigm shift from the old imperative way to a less error-prone, more elegant, and concise coding style that's also a breeze to parallelize. You'll explore the syntax and semantics of lambda expressions, method and constructor references, and functional interfaces. You'll design and write applications better using the new standards in Java 8 and the JDK.
Lambda expressions are lightweight, highly concise anonymous methods backed by functional interfaces in Java 8. You can use them to leap forward into a whole new world of programming in Java. With functional programming capabilities, which have been around for decades in other languages, you can now write elegant, concise, less error-prone code using standard Java. This book will guide you though the paradigm change, offer the essential details about the new features, and show you how to transition from your old way of coding to an improved style.
In this book you'll see popular design patterns, such as decorator, builder, and strategy, come to life to solve common design problems, but with little ceremony and effort. With these new capabilities in hand, Functional Programming in Java will help you pick up techniques to implement designs that were beyond easy reach in earlier versions of Java. You'll see how you can reap the benefits of tail call optimization, memoization, and effortless parallelization techniques.
Java 8 will change the way you write applications. If you're eager to take advantage of the new features in the language, this is the book for you.
What you need:
Java 8 with support for lambda expressions and the JDK is required to make use of the concepts and the examples in this book.
商品描述(中文翻譯)
中級程度,適合對Java相當熟悉但對函數式編程和lambda表達式不熟悉的程式設計師。
準備好以全新的方式進行編程。《Java函數式編程》將幫助您快速掌握新的、必要的Java 8語言特性和將改變和改進您的代碼的函數式風格。這本簡短而有針對性的書將幫助您從舊的命令式方式轉變為一種更少出錯、更優雅、更簡潔且易於並行化的編碼風格。您將探索lambda表達式、方法和構造函數引用以及函數式接口的語法和語義。您將使用Java 8和JDK中的新標準來設計和編寫更好的應用程序。
在Java 8中,lambda表達式是輕量級、高度簡潔的匿名方法,支持函數式接口。您可以使用它們跳入Java中全新的編程世界。通過函數式編程能力(在其他語言中已經存在數十年),您現在可以使用標準的Java編寫優雅、簡潔且較少出錯的代碼。本書將引導您進行範式轉變,提供有關新功能的基本細節,並向您展示如何從舊的編碼方式過渡到改進的風格。
在本書中,您將看到流行的設計模式(如裝飾器、建造者和策略)以輕鬆解決常見的設計問題。憑藉這些新功能,《Java函數式編程》將幫助您掌握實現在早期Java版本中難以實現的設計技巧。您將了解如何受益於尾調用優化、記憶化和輕鬆並行化技術。
Java 8將改變您編寫應用程序的方式。如果您渴望利用語言中的新功能,這本書就是為您而寫的。
所需材料:
本書中的概念和示例需要支持lambda表達式和JDK的Java 8。