图书标签: Java 计算机 java 编程 Programming 经典 软件开发 计算机科学
发表于2024-09-20
Effective Java pdf epub mobi txt 电子书 下载 2024
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.
距离第二版又过去了十年。主要增加了Java 7/8/9 的内容。还是很有收获。
评分读过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
评分相比C++的effective系列 这本明显把重点放在设计模式上了。看了这本书最大的感受C++真是(除了python之外)最好的语言。虽然能实现的效果相同 但cpp明显写的畅快多了 : )
评分好好好 不愧是经典
评分Java Programming Bible
首先声明,这本书的中文翻译大体上还是过得去的,大方向上没问题。 ----------------------------分割线---------------------------- 1. p129 翻译:Java的枚举类型是功能十分齐全的类,功能比其他语言中的对等物要更强大得多,Java的枚举本质上是int值。 原文:Java's enum ...
评分序言 零散地读完《Effective Java》(中文版第二版),真心觉得这是一本经典书籍。现在想写一下读完这本书的整体收获,而不是涉及到书中某一个具体的知识点。 收获 在重点或疑问的地方,做出标记和注释 在读《Effective Java》时,对于前10条建议,我并没有理解得很深刻,...
评分抱歉没有购买正版图书!该书内容同样不太适合完全没有java基础或者是java实战经验较少的同学阅读。与很多偏向编程技巧书籍类似,若没有一定的实战经验,很难去理解作者全书中讲解的奇淫异术,不过新手也可以作为基础知识学习的扩展,不至于“第一份”代码因为缺少太多实战...
评分java书籍如core Java经常分两册,上册为基础fundmental,下册为advanced。上册讲编程的基本概念,下册谈被升级的概念(如泛型对于Object,try是某种不判断的if,并发是循环的横向扩展,集合是某种高级的数组等等)。这类书给人的感觉是概念的任意组合,正交化,什么都可以...
Effective Java pdf epub mobi txt 电子书 下载 2024