16.5: Higher Order Functions in JavaScript - Topics of JavaScript/ES6

preview_player
Показать описание
In this video, I discuss "higher order functions" in JavaScript.

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

The syntax is not the only difference between arrow and regular functions. An arrow function does not create its own context, while regular ones do. This is something important to keep in mind.

lolulol
Автор

How you can remain engaged and ENGAGING throughout your videos is a skill I'm highly jealous of. You take a screen full of code and humanize it. I'm currently stuck in class trying to prove higher order functions work by rewriting them in our own words...and it's not fun. It's basically .filter() my joy out of my personal array. Your channel is a gushing spring river on a hot summer's day.

iTzJimBoi
Автор

his enthusiasm is what every other programmer needs on their tutorial videos. Literally if other people were like this, i would of learned java so much faster

keving
Автор

this guy has to be the most likeable person i've come across on YT

christopherholt
Автор

Usually I have to speed the video up, but this time I slowed it down a bit lol. Dudes a ball of energy, makes a great teacher.

jw
Автор

I never knew programming could even be like this! This is incredible!

zinsy
Автор

"A function that expects a function as a parameter, creates a function and/or returns a function." - this did it for me. Thank you!!!

Momosun
Автор

honestly your videos are awesome 20 mins tutorial feels like 5 mins... thanks!!

juanok
Автор

This is the best explenation of higher order functions that i seen... Only now i understand it after so many watched tuturials... Thank you!!! 👍

danilopetrovic
Автор

Wasn't too sure how higher order functions worked but came across this video and it explained it very clearly. Thank you!

danielrodas
Автор

Thank you for this video!!! I have read and read my lesson over and over, but after coding along with you it finally made sense!!!

neonhoshi
Автор

That dab in 1:31 was flawless!
Also, I don't remember where I saw it, something about functional programming I guess, but they had a similar example:
You have a function multiply(a, b) with two argments.
If you call multiply(2, 3) it returns 6
But you can also call multiply(2) which returns a function like that doubler, which multiplies to 2 whatever you pass in to it

RodrigoCastroAngelo
Автор

You are so awesome to watch. I have a ton of fun and laugh a lot just tuning into your videos!

humanrr
Автор

I finally subbed after this one. I finally understand whats going on with ES6 and callbacks.

davidmcdougald
Автор

It crazy how entertaining you make coding. Your energy literally seeps through the screen.

lukes
Автор

I'm still in high school, but i get the sensation that i'd learn more from this guy in 16 minutes than a professor in hours

mistermomo
Автор

You are a great teacher. I always come here when there's something I can't understand. :)

katherinedragieva
Автор

You can take it even further:-

const multiplier = factor => x => x*factor;

although readability can suffer a bit.

percyferry
Автор

I enjoy watching your energy and interest in explaining programming logic. You have helped me understand this concept easier. I have tried reading many articles and forums for understanding Higher Order Functions but couldn't grasp the idea of it. But, you have helped me understand it better. Thank you so much for giving such efforts in explaining the complex ideas. Keep it up. I've subscribed to your channel to follow you regular.

kopilkaiser
Автор

What's crazy is you could also do

const multiplier = factor => x => x * factor

In fact, if you wanna get extra crazy, you can keep nesting the pattern as far as you want.

I seriously love JS.

Dylan_thebrand_slayer_Mulveiny