The Complete JavaScript Closures Course
What you'll learn
- Get a mature understanding of main JavaScript principles
- Learn how returning functions from functions works
- Get an introduction on Scope and the Call Stack
- Rebuild and diagram the Once function in JavaScript
- Use Closure to create a Memoize function
- Learn how to use Closure in professional engineering
- Improve your technical communication
- Have a set of professional techniques for writing more maintainable code
Requirements
- The course is designed to take you from first principles up to advanced implementations and so can work for engineers from beginner to expert level. Some experience with JavaScript functions is recommended.
Description
Description:
In this course, we'll dive deep into JavaScript Closures. We'll cover what Closures are and then diagram through examples to highlight the true power of Closures.
Why learn Closure when I could be learning Node or React?
The purpose of this course is for you to take time out of ‘making it work to meet deadlines’ to truly understand a concept that will allow you to accelerate all your future engineering.
Closure is that building block that all the other concepts sit upon. 4 of the most important areas of modern programming rest on it:
Professional-grade functions like memoize and once to write cleaner and more efficient code
Design patterns like Node’s module pattern (the CommonJS pattern)
Functional programming techniques like partial application, currying and monads
Asynchronous JavaScript and the callback pattern
So how should I learn this?
In this course, we will visualize every line of code as it runs. There are no mysteries in programming if you don’t skip steps!
We’re going to develop a mental model of closure that’s intuitive but built from scratch. It’s not a bad thing either that one of Google’s favorite interview questions is ‘What is closure’ - this is the concept that can truly test your understanding of the language.
You will follow along with four other developers as we lead them through the code and as they hit blocks, ask questions and have them resolved (in something like the socratic method). We'll also go into Q&A sessions with these developers, thus answering questions you may have along the way.
Additionally, at the end of the course, you will get access to a special interview with Olivier De Meulder, the Senior Engineering Manager at New York Times and the author of the most popular Closure article on Medium - "I never understood JavaScript closures - Until someone explained it to me like this."
By the end of this course you will:
Have a mature understanding of JavaScript
Improve your technical communication
Have a set of professional techniques for writing more maintainable code
Who this course is for:
- Experienced programmers and advanced students - the course will help you join the dots behind the scenes of many of the concepts you use daily.
- New to programming students - the course will give you the foundations to accelerate your understanding of JavaScript, React and Node.
Instructors
I’m Will. I am the Co-founder and CEO at Codesmith, a software engineering and machine learning residency based in Los Angeles, New York and online. I am originally from England and now live in New York. I did my academic work at Oxford and Harvard.
Before Codesmith I started Icecomm - a realtime video platform for developers. I was also the CEO at Ownly and worked as a Software Engineer at Gem - a bitcoin startup.
I teach the popular JavaScript the Hard Parts workshops on Frontend Masters and free public workshops each week at Codesmith. Throughout the years, our two communities have become the most popular Meetup groups for JavaScript learning in New York (over 12K members) and Los Angeles (over 8K members).
Additionally, I give talks on coding and entrepreneurship to empower more people to build careers as software engineers and become leaders in technology. Excited to share my knowledge and expertise now on Udemy.
My name is Phillip. I am the Chief Academic Officer at Codesmith, an advanced software engineering residency designed to help individuals launch meaningful careers as Mid and Sr. level software engineers.
At Codesmith, I oversee all of the academic instruction and learning that happens across all programs, whether it’s Codesmith’s flagship Software Engineering Immersive program, the 2-week prep programs, or the free intro to JavaScript and JavaScript the Hard Parts weekly workshops.
Additionally, I have an affinity for public speaking and hosting technology-based workshops. At Codesmith, I give technical lectures on classic computer science theory and all things modern web development, including data structures, time complexity, front-end fundamentals, React, Node, Dev-Ops, AJAX, Asynchronous Javascript, etc.
I’ve been teaching technical concepts in-person and online for over 15 years, helping thousands of students build their engineering skills from basics to more advanced engineering concepts.
Prior to Codesmith, I specialized in security system design patterns for hardware and software for the Department of Homeland Security. While I have passion in all aspects of web development, I’ve shown a particular leadership in improvements to React.