Joshua Bloch is a professor at Carnegie Mellon University. He was formerly the chief Java architect at Google, a distinguished engineer at Sun Microsystems, and a senior systems designer at Transarc. He led the design and implementation of numerous Java platform features, including the JDK 5.0 language enhancements and the Java Collections Framework. He holds a Ph.D. in computer science from Carnegie Mellon University and a B.S. in computer science from Columbia University.
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 Programming Bible
評分 評分##對於一本好書的評判是由自己決定的。在沒看書之前就先看彆人怎麼議論這本書,你心裏就會産生偏差。特彆是你買瞭之後,迴過頭來看評論,看到那些差評,你是否會産生芥蒂。那這本書看還是不看。 對這本書的翻譯問題大多數都是吐槽的。但是隻限於吐槽,讓彆人心生厭惡罷瞭。如果真...
評分##好好好 不愧是經典
評分 評分##讀過2rd的人,diff ## Chapter 2 - Creating and Destroying Objects - Item 5: Prefer dependency injection to hardwiring resources. 優先用框架支持(Spring)依賴注入,而不是手寫單例 - Item 9: Prefer try-with-resources to try-finally. Java 7 特性,語法糖 ## Chapter 4 - Classes and Interfaces - Item 21: Design interfaces for posterity. interface default 實現,大傢都會的 - Item 25: Limit source
評分##其實目前 Intellij IDEA 的建議中包含瞭不少。其他收獲:不能過度使用 Streams 影響代碼可讀性,盡量用除瞭 String 以外其他可用的類型,用primitive 而不用 boxed type,盡量用接口而不是反射,異常一定包含最關鍵的信息,盡量用 executors,tasks,and streams 而少用綫程。
評分##很不錯,中階java書籍,在當下版本也比較新
評分##身為一個以Java為生的Coder,到現在纔看這本書,說起來多少有點慚愧。買瞭中文版,看瞭幾頁後實在是看不懂,完全不知所雲,沒辦法,隻好看英文版的,於是曆時一個月,看得我欲仙欲死,生不如死。。。不過,經典就是經典,收獲良多,強烈推薦!
本站所有內容均為互聯網搜尋引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 book.cndgn.com All Rights Reserved. 新城书站 版權所有