- Title: Scope and Closures
- Author: Kyle Simpson
- Pages: 83
- Released: March 2014
- My book: Paperback from Amazon
About the author of YDKJS Series
If you wanna know more about Kyle, head to his website.
- Up & Going (read Up & Going review)
- Scope & Closures
- this & Object Prototypes
- Types & Grammar
- Async & Performance
- ES6 & Beyond
For me personally, the approach of breaking different topics down into couple of books works well. Reading and learning feels more granular, which I like. One book at a time.
Back to Scope and Closures.
Scope is really the major topic of this book and for a good reason.
Summary: Scope and Closures
How compiler looks at scope, how they talk to each other, how does scope lookup work and so on.
Next, you’ll read and learn about all of the different kinds of scopes like lexical, block, function scope etc..
Thanks to many great code examples throughout the book, both of the underlying topics of this book are really well explained and brought to the reader/student.
Review: Scope and Closures
Book features countless short examples to explain why is something the way it is.
"When something is hard to understand, that usually means we need better understanding of the underlying concepts."
When something is hard to understand, that usually means we need better understanding of the underlying concepts, e.g. we need deeper understanding of the topic.
Scope and Closures does just this, in depth explanation of hard to understand subjects like closures, by first ensuring we understand its foundation.
To reinforce the acquired knowledge, couple of quizzes are sprinkled throughout the book. No need for pen and paper or laptop to go over these.
Should you buy Scope and Closures?
Of course, if you can buy the book, support the author by getting a copy, it smells good.
Buy the book on Amazon
Probably the best book to understand JS Scope and the Closures boogyman.
- My Rating: 10/10