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
##相比C++的effective系列 这本明显把重点放在设计模式上了。看了这本书最大的感受C++真是(除了python之外)最好的语言。虽然能实现的效果相同 但cpp明显写的畅快多了 : )
评分##刚出版的时候买的,隔了两年终于读完了..老板都换了三了
评分##Joshua 2020 Spring在CMU有两门课:17-214 SE Design和17-480 API Design。
评分##这本还是得看英文版,而且最好写过一些Java代码,踩过坑后来看你,收获更大。
评分##本欲读algorithms Jeff,难度有些大,看完一章放弃。这本原版好读不少,感觉太多内容和设计模式相关
评分##关于如何写正确的、安全的、易于维护的Java代码指导书。
评分##用某人的O'Reilly Safari账号看技术书籍真是非常愉快。
评分##一如既往地经典,新增的 java8内容弥补了这一块的缺失,推荐所有java从业者
评分##确实经典,相较于 Effective Modern C++ 更切合实际,哪怕只是看一眼目录也获益良多。