The Definitive Guide to Java Platform Best Practices—Updated for Java 9
Java has changed dramatically since the previous edition of Effective Java was published shortly after the release of Java 6. This Jolt award-winning classic has now been thoroughly updated to take full advantage of the latest language and library features. The support in modern Java for multiple paradigms increases the need for specific best-practices advice, and this book delivers.
As in previous editions, each chapter of Effective Java, Third Edition, consists of several “items,” each presented in the form of a short, stand-alone essay that provides specific advice, insight into Java platform subtleties, and updated code examples. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why.
The third edition covers language and library features added in Java 7, 8, and 9, including the functional programming constructs that were added to its object-oriented roots. Many new items have been added, including a chapter devoted to lambdas and streams.
New coverage includes
Functional interfaces, lambda expressions, method references, and streams
Default and static methods in interfaces
Type inference, including the diamond operator for generic types
The @SafeVarargs annotation
The try-with-resources statement
New library features such as the Optional<T> interface, java.time, and the convenience factory methods for collections
##這本還是得看英文版,而且最好寫過一些Java代碼,踩過坑後來看你,收獲更大。
評分##很不錯,中階java書籍,在當下版本也比較新
評分##相比C++的effective係列 這本明顯把重點放在設計模式上瞭。看瞭這本書最大的感受C++真是(除瞭python之外)最好的語言。雖然能實現的效果相同 但cpp明顯寫的暢快多瞭 : )
評分##其實目前 Intellij IDEA 的建議中包含瞭不少。其他收獲:不能過度使用 Streams 影響代碼可讀性,盡量用除瞭 String 以外其他可用的類型,用primitive 而不用 boxed type,盡量用接口而不是反射,異常一定包含最關鍵的信息,盡量用 executors,tasks,and streams 而少用綫程。
評分##用某人的O'Reilly Safari賬號看技術書籍真是非常愉快。
評分對著第二版的筆記, 把第三版英文版擼瞭一遍. 確實英文版的體驗很不一樣. 有些內容比如並發和序列化, 還需要在實踐中多運用體會一下.
評分##一如既往地經典,新增的 java8內容彌補瞭這一塊的缺失,推薦所有java從業者
評分##很不錯,中階java書籍,在當下版本也比較新
評分##Java Programming Bible
本站所有內容均為互聯網搜尋引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2026 book.cndgn.com All Rights Reserved. 新城书站 版權所有