圖書標籤: Java 計算機 java 編程 Programming 經典 軟件開發 計算機科學
发表于2025-02-16
Effective Java pdf epub mobi txt 電子書 下載 2025
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 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.
其實目前 Intellij IDEA 的建議中包含瞭不少。其他收獲:不能過度使用 Streams 影響代碼可讀性,盡量用除瞭 String 以外其他可用的類型,用primitive 而不用 boxed type,盡量用接口而不是反射,異常一定包含最關鍵的信息,盡量用 executors,tasks,and streams 而少用綫程。
評分好好好 不愧是經典
評分距離第二版又過去瞭十年。主要增加瞭Java 7/8/9 的內容。還是很有收獲。
評分其實目前 Intellij IDEA 的建議中包含瞭不少。其他收獲:不能過度使用 Streams 影響代碼可讀性,盡量用除瞭 String 以外其他可用的類型,用primitive 而不用 boxed type,盡量用接口而不是反射,異常一定包含最關鍵的信息,盡量用 executors,tasks,and streams 而少用綫程。
評分很不錯,中階java書籍,在當下版本也比較新
书是好书,但是翻译简直不堪卒读,有些地方我估计译者可能自己现在都看不懂。英语水平可以的话还是建议和英文版对比着读,我对比的时候就发现几个容易让读者迷惑的地方。比如在第 37 条的最后一段: 原文是: “In a sense, this item is the inverse of Item 19, which says,...
評分case insensitive 是不区分大小写的,为什么翻译成区分大小写了。 但是作者的例子 也是区分大小写,String本来就区分大小写,作者到底是什么意图? ...
評分1. Java程序员分两种,读过<Effective Java>的和没读过的,严格的来说,没读过的不算是Java程序员。 2. 书组织的不错,很适合在碎片时间看上一两条,然后再慢慢回味; ...
評分每种语言都有一个“Effective guide”,对于Java,那就是这本《Effective Java》。 这是一本实用至上的书,78条建议,满满的干货。每一条都说明了为什么最好这样。这些经验,都是对大量的程序项目进行反思时逐渐形成的。对于Java这种极为健全乃至有点过于丰满的语言,这样一本...
評分Effective Java pdf epub mobi txt 電子書 下載 2025