JavaScript the Hard Parts: Closure, Scope & Execution Context

preview_player
Показать описание
Watch Will, Codesmith's CEO, delve into one of the most powerful concepts in programming: Closures. Here's what you'll learn:
- How closure works under the hood
- Core JS runtime features - execution context, JavaScript execution model and the variable environment
- How to able to wield, optimize and debug popular pro utility functions like once and memoize
- How to be able to implement the module pattern - one of the cleanest and most resilient design patterns in JavaScript

Stay connected to our community!

Follow us to stay updated!

#codesmith #javascript #learntocode
Рекомендации по теме
Комментарии
Автор

The best explanation of Closures I have ever heard… hands down. Sure, a 10 second definition would be faster but Will has learned how to make it stick in a student's head by making us do the work. 👏

selinovaldes
Автор

This guy is really a special type of teacher

liammahoney
Автор

I admire how much care he puts into stepping through each function, line by line, and by hand. It didn't occur to me how many coding lectures/tutorials did not do this

SwimInAPondInTheRain
Автор

So good. Not just a great explanation, but also told in an inspiring way. If only there was a whole web development course from Will!
Just in case it's useful to anybody:

0:00 Returning a function from a function
15:04 Calling a function from inside the scope it was defined in
20:14 Calling a function from outside the scope it was defined in
42:03 Backpack/persistent lexical scope reference/closed over variable environment/closure
45:46 Returning a function more than once
51:41 Lexically scoped languages vs. dynamically scoped languages
52:11 The power of closure

kewner
Автор

I've gotta say, Will Sentance is captivating and genuinely inspires curiosity. His passion really comes through when he teaches. Thank you so much for this video.

youngkim
Автор

The ability of breaking down such a complex JS topics in small and simple steps and make them so easy to understand, its a charisma! Well done!
Its the first time i watch an explanation of closures and i feel confident i 100% get it!

petroszavrakas
Автор

I absolutely loved this step-by-step walkthrough. Thanks Codesmith and thank you, Will. Also, as I happened to be watching on a Sunday, I had a good laugh when Will asked, "Why on earth are we doing this on a Sunday?" :D

sideshowlol
Автор

Your videos have taken my JavaScript and programming knowledge to a whole new level. This is hands down the best explanation of advanced JavaScript topics. I can't thank you enough! :)

kylelambert
Автор

All the love from Nigeria...I have never been so happy to attend classes...this was superb

samuelokoli
Автор

OMG this is an excellent class on javascript and an excellent class on how to teach correctly, both simultaneously. Awesome, thanks Will!

sezif
Автор

I have watched tones of videos to understand hard parts of javascript but the way you explained these concepts is something that just clicks in my mind. Your teaching is on another level. keep it up.

ankitvasita
Автор

Wow, outstanding. Thank you. Closure = Persistent Lexical Scope Reference PLSR = Closed Over Variable Envionment COVE = 'Backpack'

douglasrogers
Автор

This video is gold! I was able to get through multiple closure problems after only watching a portion of the video!!

poppyseeded
Автор

at last I can say that I fully understand closures, I really admire methodology of teaching and breaking down this complex topic 👏

mahmoudhussein
Автор

Your drawing helps explaining closure in a clearer way! Thank you so much!

nguyennguyen-ddkz
Автор

I like to think this specific class that is involved with all of Will's lectures at this point in time is very similar to the class of students that was in the movie Dead Poets Society

cannabisanomaly
Автор

One of the most complex js concepts explained so well. Thanks Will and Codesmith!!

oanacristea
Автор

Best closure explanation I have seen thus far; excellent, thanks!

felipemelendez
Автор

Ive watched multiple video about clouseres and yours explenection is Great Thanks

emate
Автор

Man, that backpack of data analogy is super helpful for understanding how closures work, thank you so much Will!

TibbyProductions
join shbcf.ru