图书标签: Java 计算机 java 编程 Programming 经典 软件开发 计算机科学
发表于2024-12-22
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.
确实经典,相较于 Effective Modern C++ 更切合实际,哪怕只是看一眼目录也获益良多。
评分距离第二版又过去了十年。主要增加了Java 7/8/9 的内容。还是很有收获。
评分相比C++的effective系列 这本明显把重点放在设计模式上了。看了这本书最大的感受C++真是(除了python之外)最好的语言。虽然能实现的效果相同 但cpp明显写的畅快多了 : )
评分第三版新增的章节跟Joshua写作风格很不一样啊~
评分关于如何写正确的、安全的、易于维护的Java代码指导书。
每种语言都有一个“Effective guide”,对于Java,那就是这本《Effective Java》。 这是一本实用至上的书,78条建议,满满的干货。每一条都说明了为什么最好这样。这些经验,都是对大量的程序项目进行反思时逐渐形成的。对于Java这种极为健全乃至有点过于丰满的语言,这样一本...
评分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 ...
评分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 ...
评分每种语言都有一个“Effective guide”,对于Java,那就是这本《Effective Java》。 这是一本实用至上的书,78条建议,满满的干货。每一条都说明了为什么最好这样。这些经验,都是对大量的程序项目进行反思时逐渐形成的。对于Java这种极为健全乃至有点过于丰满的语言,这样一本...
评分序言 零散地读完《Effective Java》(中文版第二版),真心觉得这是一本经典书籍。现在想写一下读完这本书的整体收获,而不是涉及到书中某一个具体的知识点。 收获 在重点或疑问的地方,做出标记和注释 在读《Effective Java》时,对于前10条建议,我并没有理解得很深刻,...
Effective Java pdf epub mobi txt 电子书 下载 2024