發表於2024-10-08
Effective Java pdf epub mobi txt 電子書 下載
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
##Joshua 2020 Spring在CMU有兩門課:17-214 SE Design和17-480 API Design。
評分##搞得我想對譯者進行人身攻擊 第16條第47條連大標題都翻譯錯瞭。第16條 In public classes,use accessor methods,not public fields。明顯是倡議使用訪問方法,不要直接暴露成員。結果標題翻譯成瞭要在公有類而非公有域中使用訪問方法,匪夷所思。我覺得就算讓初中生來翻譯結閤...
評分 評分##關於如何寫正確的、安全的、易於維護的Java代碼指導書。
評分##如果你使用剛剛學會的Java做瞭一個小應用程序,那麼你就可以開始有選擇地看這本書。書中分彆對Java的不同特性分章節給予作者本人的建議。如果你還沒有用到其中的某一特性,那麼就沒必要讀相關的章節,跳過去。隻有你經曆過瞭,摔倒過瞭,睏擾過瞭,你纔會與書中的建議産生共鳴...
評分##很不錯,中階java書籍,在當下版本也比較新
評分##其實目前 Intellij IDEA 的建議中包含瞭不少。其他收獲:不能過度使用 Streams 影響代碼可讀性,盡量用除瞭 String 以外其他可用的類型,用primitive 而不用 boxed type,盡量用接口而不是反射,異常一定包含最關鍵的信息,盡量用 executors,tasks,and streams 而少用綫程。
Effective Java pdf epub mobi txt 電子書 下載