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
##什么都不说了,Java程序员都应该看的。
评分##什么都不说了,Java程序员都应该看的。
评分##刚出版的时候买的,隔了两年终于读完了..老板都换了三了
评分##其实目前 Intellij IDEA 的建议中包含了不少。其他收获:不能过度使用 Streams 影响代码可读性,尽量用除了 String 以外其他可用的类型,用primitive 而不用 boxed type,尽量用接口而不是反射,异常一定包含最关键的信息,尽量用 executors,tasks,and streams 而少用线程。
评分##什么都不说了,Java程序员都应该看的。
评分对着第二版的笔记, 把第三版英文版撸了一遍. 确实英文版的体验很不一样. 有些内容比如并发和序列化, 还需要在实践中多运用体会一下.
评分##刚出版的时候买的,隔了两年终于读完了..老板都换了三了
评分##这本还是得看英文版,而且最好写过一些Java代码,踩过坑后来看你,收获更大。
评分##相比C++的effective系列 这本明显把重点放在设计模式上了。看了这本书最大的感受C++真是(除了python之外)最好的语言。虽然能实现的效果相同 但cpp明显写的畅快多了 : )
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2026 book.teaonline.club All Rights Reserved. 图书大百科 版权所有