Book Review: JavaScript Patterns by Stoyan Stefanov

"JavaScript Patterns" takes the reader from a very basic understanding of JavaScript all the way to some very advanced language structures and patterns.  The book uses lots of examples throughout, and it explains everything from best practices to how to implement advanced JavaScript data structures and patterns (singleton, function chaining, inheritance, callbacks, etc.).  The book compares different patterns for achieving the same result throughout and draws conclusions about the best methods for different scenarios.  There are plenty of code snippets demonstrating both good and bad examples that help to walk the reader throughout the intricacies of the language.

The book was very well written and answered all of the questions that I had pop to mind as I read it.  It is written in a way that captures the readers attention while not being overly wordy or getting bogged down on unimportant topics.  The vast number of code snippets and examples allow the reader to quickly go from even a rudimentary understanding of JavaScript to an expert level understanding.  This book is more focused on learning how to implement advanced data structures and patterns in JavaScript, so it would be very helpful for someone working on JavaScript libraries like jQuery and others.  However, if you are just planning to do some basic JavaScript for a website, this is not the right book for you.