Campbell Ritchie wrote:Now that Java8 is out and there are new features, do we think Bloch ought to write a 3rd edition or leave the new features to people like Horstmann? You will find several discussions of Java8 books in the Java8 forum.
I would love to see an updated effective Java book from Joshua Bloch and would definitely buy a copy of it.
But even if Joshua Bloch would update his book, since he aims at a wider range, there is also need for books focusing on Java 8.
So other authors like Cay Horstmann are very welcome to write Java 8 books.
I will also like to see a new updated edition of this gem of a book, for the first and most important reason- many new features have been introduced in Java 8 ,we would definitely like to know the do's and don'ts as well as best practices for them. What better than the style Bloch explains these !!
Second, apart from the additions, there have been some changes in current features (of Java 1.6), hence a need for the new version of the book . Got this as an example , on Page 9, there is an example on parameterized type instances:
As of Java 1.6, we needed to provide type parameters on both sides but as of Java 1.7, this is not required, just giving angle brackets is enough.
Map<String, List<String>> m = new HashMap<String, List<String>>(); //as of Java 1.6
Map<String, List<String>> m = new HashMap<>(); //reduced verbosity with Java 1.7