Effective Java 在线电子书 图书标签: Java 计算机 java 编程 Programming 经典 软件开发 计算机科学
发表于2025-02-19
Effective Java 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2025
其实目前 Intellij IDEA 的建议中包含了不少。其他收获:不能过度使用 Streams 影响代码可读性,尽量用除了 String 以外其他可用的类型,用primitive 而不用 boxed type,尽量用接口而不是反射,异常一定包含最关键的信息,尽量用 executors,tasks,and streams 而少用线程。
评分很不错,中阶java书籍,在当下版本也比较新
评分读过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
评分距离第二版又过去了十年。主要增加了Java 7/8/9 的内容。还是很有收获。
评分Java Programming Bible
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
1. Java程序员分两种,读过<Effective Java>的和没读过的,严格的来说,没读过的不算是Java程序员。 2. 书组织的不错,很适合在碎片时间看上一两条,然后再慢慢回味; ...
评分书是好书,但是翻译简直不堪卒读,有些地方我估计译者可能自己现在都看不懂。英语水平可以的话还是建议和英文版对比着读,我对比的时候就发现几个容易让读者迷惑的地方。比如在第 37 条的最后一段: 原文是: “In a sense, this item is the inverse of Item 19, which says,...
评分个人认为这本书和《Thinking in java》一样,并不适合刚入门JAVA的人。它是一本进阶教程,里面的多线程或者设计模式,是需要一定的功力才能够理解作者所举的示例的。每个示例解释得恰到好处,可以作为实际开发的指导原则了吧,若有一些开发经验或者将作者所举的原则应用到实际...
评分Effective Java 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2025