But thankfully one of its champions has done his best to explain this mysterious language.
This post contains affiliate links. I may receive compensation if you buy something. Read my disclosure for more details.
🔎 And if you finally want to understand closures, Scope and Closures is where it’s at.
The six-book series includes:
- Up and Going
- Scope & Closures
- ES6 & Beyond
- Async & Performance
- Types & Grammar
thisand Object Prototypes
Further, you’ll dig into:
- Nesting lexical scopes with functions and blocks
- Functions remembering variables via closure
- Modules (one of the most important code organization patterns in programming)
- And more.
Simpson neither cuts corners nor wears kid gloves with these books. There are numerous code examples with thorough explanations.
For example, here is a page from Scope and Closures that dives into hoisting:
Developer reviews of this series are largely favorable. As OhhDenny Services, LLC says:
Further, writing about Scope & Closures Niall claims:
This should be onboarding material for any JS developer because it is packed full of detailed, digestible content that will improve even the most senior engineer. I found myself learning how to communicate and articulate the hows of JS a lot better after reading the book.
This is largely due to the lack of ES6. However, there are other small areas that could use updates as well.
My Own Experience as a Web Developer with the YDKJS Series
Note: Get Started was formerly known as Up & Going.
For me personally, having more newbie-friendly materials that discussed the “innards” of JS would’ve been fantastic.
However, the Up & Going book in particular was UBER helpful. Again, in the new series it’s been rebranded Get Started.
Take heed though!
That’s about as rare as the animals on the O’Reilly book covers.
There was one thing in particular that continues to stick out to me. It was Simpson’s philosophical musings in this introductory book.
And honestly, his perspective has given me more patience with the language.
Do I recommend this book series as a web developer?
It doesn’t matter if you’re a full-stack developer or front-end developer. Or have twenty years experience or twenty minutes.
You may just come away with a new perspective. . . While also understanding the tough stuff like closures and
- 12 Best Web Developer Books [for beginners]
- What is YDKJS?