The Definitive Guide to Java Platform Best Practices--Updated for Java 9 Java has changed dramatically since the previous edition of Effective. The Definitive Guide to Java Platform Best Practices–Updated for Java 7, 8, and 9 Java has changed dramatically since the previous edition of Effective Java. Ever since hearing about the pending publication of the Third Edition of Effective Java, I've wondered what would be new in it. I assumed that.
|Published:||10 July 2016|
|PDF File Size:||38.82 Mb|
|ePub File Size:||2.55 Mb|
Minimize the accessibility of classes and members 73 Item In public classes, use accessor methods, not public fields 78 Item Minimize mutability 80 Item effective java 3rd edition Favor composition over inheritance 87 Item Design and document for inheritance or else prohibit it 93 Item Prefer interfaces to abstract classes 99 Item Design interfaces for posterity Item Use interfaces only to define types Item Prefer class hierarchies to tagged classes Item Favor static member classes over nonstatic Item Limit source files to a single top-level class Chapter 5: Generics Item Eliminate unchecked warnings Item Prefer lists to arrays Item Favor generic types Item Favor generic methods Item Use bounded wildcards to increase API flexibility Effective java 3rd edition Combine generics and varargs judiciously Item Consider typesafe heterogeneous containers Chapter 6: Enums and Annotations Item Use enums instead of int constants Item Use instance fields instead of ordinals Item Use EnumSet instead of bit fields Item Use EnumMap instead of ordinal indexing Item That table would have saved me a lot of time in identifying the items that cover Java 7, Java 8, and Java 9 new features!
The "Introduction" is also worth reading because it lays out the "few fundamental principles" from effective java 3rd edition "most of the rules in this book derive.
However, I only mentioned some of the quick references to Java 7, Java 8, and Java 9 and undoubtedly missed some new and changed text in my summary.
Who should read this book Every professional Java developer who wants to write efficient and maintainable Java code.
Detailed Review You can get a lot of books about Java, and several of them do a good job explaining the different language features. effective java 3rd edition
But as a professional developer, effective java 3rd edition know that this is just the first step. I am very happy to inform you all that, finally, all our wishes have been granted and Effective Java 3rd edition is set to arrive this year.
It will not only cover Java 9 release but also all the changes from Java 7 and Java 8.