Java Generics and Collections
Java Generics and Collections

Author: Maurice Naftalin & Philip Wadler
Publisher: O'Reilly, 2006
Pages: 294
ISBN: 978-0596527756
Aimed at: Experienced Java programmers
Rating:4.5
Pros:Good deep treatment
Cons: Too much space devoted to collections
Reviewed by: Ian Elliot

 

Some books have a long shelf life - here's one for Java programmers

Java Generics is an important topic and source of competitive arguments between Java, C++ and C# programmers about which has the best approach to generics. This is a high-level book that attempts to explain how and why Java does generics in the way that it does. It’s very nearly an essential read if you hope to master the topic but there are alternatives.

The first part of the book is an introduction that digs deep. After reading it you should understand how Java generics work and how they differ from C# and C++ generics. The explanations are good but the comparisons are just a little over stretched in an effort to prove that the Java way is the best. You’ll frequently come across, “this is how it was before generics” compared to “this is how much better it is after generics”. The introduction takes us from the basic to the more advanced ideas including generic patterns.

 

Banner

 

The second half of the book moves off into the related, but not essential area, of collections. While this is well presented you do get the feeling that the authors ran out of material on generics and so needed something to fill a book-sized space. All useful and very practical if you are having trouble trying to figure out which collection type to use in any particular situation.

The overall style of the book is wordy with short and to the point examples that are usually interwoven with the discussion. If you are looking for larger real world examples you might not be happy but for me this is the way to master a complex and subtle topic and putting the ideas into action in the real world is something I can do for myself.

This is a very good book on two fairly focused topics – generics and collections. If you plan to make best use of either or both then buy a copy.

 

Banner


Java in 24 Hours (7e)

Author: Rogers Cadenhead
Publisher: Sams, 2014
Pages: 448
ISBN: 9780672337024
Print: 0672337029
Kindle: B00K6KG9CM
Audience: Java Beginners
Rating: 4
Reviewer: Mike James

Java in 24 hours? A tempting offer, but Java is has grown into a complex language. This edition of this long standing book cov [ ... ]



Pro SQL Server Wait Statistics

Author: Enrico van de Laar
Publisher: Apress
Pages: 336
ISBN: 978-1484211403
Print: 1484211405
Kindle:B011BALPHO
Audience: DBAs and SQL developers
Rating: 4.5
Reviewer: Ian Stirk

This book aims to troubleshoot problems and improve the performance of SQL Server queries by using Wait Statisti [ ... ]


More Reviews

Last Updated ( Wednesday, 17 August 2011 )
 
 

   
RSS feed of book reviews only
I Programmer Book Reviews
RSS feed of all content
I Programmer Book Reviews
Copyright © 2016 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.