JavaScript the Hard Parts: Closure, Scope & Execution Context

  Рет қаралды 3,958

Codesmith

Codesmith

Жыл бұрын

During this online workshop recording, Nat will go under the hood of JavaScript, so you can confidently tackle new problems and work through blocks.
Nat will cover:
- Understand how closure works under the hood (one of the most misunderstood but most powerful features of JavaScript)
- Understand core JS runtime features - execution context, JavaScript execution model, and the variable environment
- Be able to wield, optimize and debug popular pro utility functions like once and memorize
- Be able to implement the module pattern - one of the cleanest and most resilient design patterns in JavaScript
Join us for live workshops every week here: app.codesmith.io/coding-events
Learn more about Codesmith here: codesmith.io
Stay connected to our community!
Codesmith: www.codesmith.io/
Learn JavaScript for Free: csx.codesmith.io/
Free Events & Workshops: www.codesmith.io/coding-events
Follow us to stay updated!
Facebook: / codesmithhq
Instagram: / codesmithio
Twitter: / codesmith_
LinkedIn: / admin
#learntocode #javascript #programminglanguage #recursion

Пікірлер: 4
@truth8690
@truth8690 Жыл бұрын
🤍🤍
@Odisej1
@Odisej1 Жыл бұрын
One semi-stupid question. Why would some junior web developer need to know this stuff? What is practical implementation of this knowledge?
@Codesmith
@Codesmith 11 ай бұрын
Hey @Odisej1 - I’m so glad you asked! Closure is one of the most challenging concepts in JavaScript, but also one of the most important! One common implementation is memoization - say that you have a complicated function that takes a long time to run. The first time you pass in a given input, your function will need to take that time to figure out the answer. Now, if you invoke that function again, passing in the same input, your function would need to repeat all of that work! Wouldn’t it be amazing if your function had “memories”, where it could store the answer? That’s closure! Closure makes it possible for your function to persist data that’s only available to that particular function - so, when you invoke your memoized function with the same input, your function knows to return the same answer (without having to do all that work again!). Really cool stuff!! Diving into challenging concepts like this is a great way to level up your software engineering skills. (It’s also a very popular interview question!)
@Odisej1
@Odisej1 11 ай бұрын
@@Codesmith Thank you for the answer
JavaScript the Hard Parts: Closure, Scope & Execution Context
57:05
🍕Пиццерия FNAF в реальной жизни #shorts
00:41
TRY NOT TO LAUGH 😂
00:56
Feinxy
Рет қаралды 12 МЛН
IS THIS REAL FOOD OR NOT?🤔 PIKACHU AND SONIC CONFUSE THE CAT! 😺🍫
00:41
Monads are EASY! (English talk)
1:44:36
Alexander Granin
Рет қаралды 260
JavaScript the Hard Parts: Callbacks & Higher Order Functions
1:42:04
🚀  TDD, Where Did It All Go Wrong (Ian Cooper)
1:03:55
DevTernity Conference
Рет қаралды 549 М.
JavaScript the Hard Parts: Exploring Recursion in JavaScript
2:50:56
Diving into Kafka Internals with David Jacot
1:10:42
The Geek Narrator
Рет қаралды 8 М.
🍕Пиццерия FNAF в реальной жизни #shorts
00:41