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程序員也可以算必讀書之一瞭。
評分##其實目前 Intellij IDEA 的建議中包含瞭不少。其他收獲:不能過度使用 Streams 影響代碼可讀性,盡量用除瞭 String 以外其他可用的類型,用primitive 而不用 boxed type,盡量用接口而不是反射,異常一定包含最關鍵的信息,盡量用 executors,tasks,and streams 而少用綫程。
評分##第三版新增的章節跟Joshua寫作風格很不一樣啊~
評分##本欲讀algorithms Jeff,難度有些大,看完一章放棄。這本原版好讀不少,感覺太多內容和設計模式相關
評分##確實經典,相較於 Effective Modern C++ 更切閤實際,哪怕隻是看一眼目錄也獲益良多。
評分##確實經典,相較於 Effective Modern C++ 更切閤實際,哪怕隻是看一眼目錄也獲益良多。
評分##本欲讀algorithms Jeff,難度有些大,看完一章放棄。這本原版好讀不少,感覺太多內容和設計模式相關
評分##書是好書,死亡翻譯,令人絕望。第一條第一段“它隻是一個返迴類/的實例/的靜態方法” 讀瞭5遍纔明白是“它隻是一個/返迴類的實例/的靜態方法”
評分##本欲讀algorithms Jeff,難度有些大,看完一章放棄。這本原版好讀不少,感覺太多內容和設計模式相關
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2026 book.tinynews.org All Rights Reserved. 静思书屋 版权所有