9.6: JavaScript Closure - p5.js Tutorial

preview_player
Показать описание
This video covers JavaScript closures. What is a closure? Why is it useful? The context explored is a closure function that animates a DOM element in the browser.

Help us caption & translate this video!

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

This man's enthusiasm is what keeps me going.

karjedav
Автор

In many tutorials people give countless examples but nobody says the definition: it's just an IDEA of a function, enclosed inside another function.
Thank you. I finally got it.

mark_pribylnov
Автор

I can't believe I'm finding your videos now! I've stumbled on a gold mine!

matthewjames
Автор

I'm a Javascript developer on my 9-5 job and your javascript videos help strength my fundamentals. Thank you!

kylekim
Автор

You have an absolute gift for teaching. I literally fully understand JS Closures off of this one video. The BEST!

Qhoopdreams
Автор

This is the best explanation of a closure!!

Went through several videos and all of them stopped short of explaining the why and explained the what!!

IndianKhanSameer
Автор

Closures are not confusing anymore, thanks! I like the enthousiasm in your videos as well, you can totally see just how passionate you are!

xRichhhx
Автор

As usual, you make learning code so much easier (and fun). Thanks for your work!

_ARNO
Автор

I've been watching JS closure videos... but your video is the best! well explained and very simply arranged.
THanks a lot!
from South Korea

koolmo
Автор

Finally!!! I found a video example of CLOSURE that makes clear sense. Not only does it make clear sense but it's fun to watch. Goofy, silly, insightful, genius, captivating, pure educational entertainment. Highly recommended.

savellas
Автор

I can't express the joy I have watching your videos and you've explained this in such a fantastic way that resonates with me so well, keep up the excellent work.

sammunro
Автор

@7:52 - I finally understand closures. THANK YOU

ericaepperson
Автор

Such an amazing teacher, I absolutely understand it now and had fun learning it all too. Thank you!!

steveroe_
Автор

The idea of using this to trigger musical notes seems really cool.
I love your videos.
:)

rogribas
Автор

Hey I just wanted to say that it is really good that you go ahead and make mistakes, because it allows us to find the mistake before you tell us which helps to improve our thinking as well as confidence, so thank you for making mistakes.

nikolaprijovic
Автор

I've always been super scared of coding, ever since I was about 12. I looked at the way most "stereotypical coders" acted and talked, and It kind of scared me so I never started.
I have been watching your tutorials and challenges for a few weeks now and it's the first time ever that I enjoy watching code, and enjoy coding myself!
if you can see this, Thank you so much Daniel for opening so many doors for me for the future, I am truly grateful for you & your amazing energy and optimism that's been 100% since day 1.
Appreciate it ❤

rowsncols
Автор

This is the best explanation I’ve found after several videos, thanks

alejandrolara
Автор

Clear, energetic, and fun! Keep them coming and you'll be famous in JS LearnerLand. :)

abeechr
Автор

I like the energy you transmit when teaching us, I'm a fan of yours!

ellsonmendesYT
Автор

An actually useful example to help understand the usefulness of closures and not god damn a + b. Nice

sfincione