Effective Java 在线电子书 图书标签: Java 计算机 java 编程 Programming 经典 软件开发 计算机科学
发表于2024-12-22
Effective Java 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024
好好好 不愧是经典
评分好好好 不愧是经典
评分一如既往地经典,新增的 java8内容弥补了这一块的缺失,推荐所有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
评分算是第一本看完的原版书了
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
很早就读过,当时就知道这本书很好,可惜当时功力尚浅,没什么收获。但近日再读时,确实很有收获,可以说此书虽不是深入骨髓,但也算入木三分。新手勿动!
评分Creating and Destroying Objects 1, Consider providing static factory methods instead of constructors Pros: Named methods Flexible: not required to create a new object each time invoked. Flexible: can provide an object of any subtype. Cons The class without ...
评分书是好书,但是翻译简直不堪卒读,有些地方我估计译者可能自己现在都看不懂。英语水平可以的话还是建议和英文版对比着读,我对比的时候就发现几个容易让读者迷惑的地方。比如在第 37 条的最后一段: 原文是: “In a sense, this item is the inverse of Item 19, which says,...
评分抱歉没有购买正版图书!该书内容同样不太适合完全没有java基础或者是java实战经验较少的同学阅读。与很多偏向编程技巧书籍类似,若没有一定的实战经验,很难去理解作者全书中讲解的奇淫异术,不过新手也可以作为基础知识学习的扩展,不至于“第一份”代码因为缺少太多实战...
评分首先声明,这本书的中文翻译大体上还是过得去的,大方向上没问题。 ----------------------------分割线---------------------------- 1. p129 翻译:Java的枚举类型是功能十分齐全的类,功能比其他语言中的对等物要更强大得多,Java的枚举本质上是int值。 原文:Java's enum ...
Effective Java 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024