Episode 8: Higher Order Functions - JavaScript Tutorial 💻🎉
@simplesolutions289
2 жыл бұрын
what IDE do you use for these videos?
@ColorCodeio
2 жыл бұрын
@@simplesolutions289 Chrome DevTools
@caribbeanman3379
2 жыл бұрын
4:45 BTW, I remember seeing on a JavaScript video that it's bad practice to use array notation to get a particular character from a string like you've done here with "n[0]". I don't remember the details of why it's bad. But it was suggested that it's better to use one of the string functions like n.slice(0,1) or n.charAt(0).
@camcairns2584
2 жыл бұрын
Sina, just a note of appreciation - your content and presentation are immaculate. You are one of the few educators who can employ humor so it contributes rather than detracts.
@ColorCodeio
2 жыл бұрын
Thank you so much
@catbros4life
3 жыл бұрын
I don't understand why you don't have a lot more subscribers. I have went through several videos and found them very useful .
@ColorCodeio
3 жыл бұрын
Thank you :)
@CondeAlberto
2 жыл бұрын
He is good indeed.
@karimmaged5024
Жыл бұрын
Not sure if you'll see this, it's a year old video. I'm currently learning web development and your videos are one of the greatest resources I found. You deliver the info in a light yet effective way. Hopefully you won't give up on this channel and would continue publishing those awsome videos.
@ColorCodeio
Жыл бұрын
Of course I see your comment :) I have no plans to stop posting videos. Thank you for taking the time to write.
@Trolleger
Ай бұрын
Sir, your content has been a great help for me learning coding and reviewing coding (I go to coding class) You incorparate humor actually good, you have good visuals, mic quality and just everything is Immaculate. Thank you
@ColorCodeio
28 күн бұрын
Excellent
@crassProgrammer
Ай бұрын
This is the best series on JS. You have explained very well. I have watched almost all JS videos & I am really disappointed why you have lesser views & subscribers. ❤ from me!!!
@ColorCodeio
28 күн бұрын
Thanks
@riteeshpai2369
2 жыл бұрын
I wasnt knowing for months like what it is to use this keyword with arrow functions.I legit didnt understand it.But now seeing your explaination made it all clear to me.You are a gem.
@ColorCodeio
2 жыл бұрын
Thank you. Glad it helped.
@otabekkadirov2578
Жыл бұрын
This is a great explanation, thank you Sina. You are doing a great job, so please don't stop.
@ColorCodeio
Жыл бұрын
👍
@SofiaLo-23
Жыл бұрын
This is the first video I watch from your channel and I have to say it is really good. The animations, explanation and everything. Thank you so much
@ColorCodeio
Жыл бұрын
Thanks Sofia
@viorelmnk
2 жыл бұрын
i like the way you explain in detail and with examples and the way the videos are made, very modern, clean and each topic of the videos gets a "separate" part of the video, making it easy for us viewers.
@ColorCodeio
2 жыл бұрын
Thank you. Glad you found it useful.
@georgetuccio6053
2 жыл бұрын
Really enjoying the 10 part series. Just finished an engagement and starting to interview for next engagement and studying like crazy to prepare for all those interview questions. Yes, prototype and classes came up in one interview and I stumbled all over the answers. I'm from New York City, enjoyed seeing the city out of your window. Miss it. Moved to Tampa 5 years ago and looking forward to moving back.
@ColorCodeio
2 жыл бұрын
I miss my view too, although I'm still in NYC. Best of luck to you on your interviews. Let me know if I can help.
@syedaun5410
2 жыл бұрын
Please do a series on basics of React or React Native. But I guess then the audience will be very limited as you are still growing, but your work deserves a lot more views, fantastic work!!!
@ColorCodeio
2 жыл бұрын
Great suggestion
@Ratchet2022
Жыл бұрын
Wow! This really takes away the mystique of higher order functions for me after years of programming in TS. How they work is obvious to me now, hence this video did its job. I just never really gripped how functions sent in as arguments run the code for each element in a collection, but now seeing you write these higher order functions, I see how they do the processing in a black box just like they would for any other primitive argument type. Thank you!
@ColorCodeio
Жыл бұрын
Thanks for a great comment! Glad the video was helpful for you.
@averageguys_sa
Жыл бұрын
I'm studying to be a full stack developer, based in South Africa. I've seen a lot of webdev tutorial videos online but I'm yet to see someone who does it better! 👌
@ColorCodeio
Жыл бұрын
Thanks and good luck with your studies!
@pedrolelis7854
2 жыл бұрын
I just found your content and this is the first video I watch! Actually I agree with the last comment... why don't you have more subs!? Thanks for the amazing explanation! Quite easy to understand! Hugs from Brazil!
@ColorCodeio
2 жыл бұрын
Welcome aboard! Sending you hugs back to Brazil from New York City.
@Looneytune
2 жыл бұрын
You guys deserve way more attention.
@ColorCodeio
2 жыл бұрын
Thanks LooneyTune. Great name by the way 👍
@sbvforworld4290
3 ай бұрын
Would love to have more and regular videos from you. Because The Channel is A CLASSIC .
@ColorCodeio
2 ай бұрын
Working on it!
@hrahman3123
3 жыл бұрын
Welcome back!
@ColorCodeio
3 жыл бұрын
Good to be back :)
@brolino11
2 жыл бұрын
How the hell does this video have less than 10k views? You're sooo good at explaining thi stuff, you deserve way more recognition. And btw, I'm subbing!
@ColorCodeio
2 жыл бұрын
Thanks for subbing!
@DivineKelvin-km9vb
Жыл бұрын
Like howwww????
@UncleNabs
2 жыл бұрын
Video Quality is really top notch! First thing I noticed, now to learn
@ColorCodeio
2 жыл бұрын
Thank you. Good luck!
@psycodeveloper9001
3 жыл бұрын
Why the hell don't you have more subscribers?? Your content is soo good... Loved it. Subscribing
@ColorCodeio
3 жыл бұрын
Thanks for subbing!
@paulsisson8944
Жыл бұрын
Great work brother! Keep it up. Us newbs really appreciate this stuff, especially when it isn't ultra-dry/tedious like a lot of these videos tend to get.
@ColorCodeio
Жыл бұрын
Thank you
@BigSmoke-r9w
6 ай бұрын
Good fellas ❤ I just watched it awhile ago, what a coincidence!
@saeed8641
3 жыл бұрын
عاشقتم سینا . تو بهترین استاد جهانی بهت افتخار میکنم
@scottbartlett6785
Жыл бұрын
Random but i definitely had "Coffee shop radio 24/7 lofi hip hop beats" on while watching this and it made it even better. regardless, thank you for being eloquent and still throwing some jokes in.
@ColorCodeio
Жыл бұрын
You’re speaking my language. Love lofi beats when coding 🎧
@ibrahim_youssef_13.12
Жыл бұрын
your voice beautiful , your joking is funny , your explanation is great, every time I see you - even in something I knew before - I benefit from new and very useful information and some funny as well😅 , Thank you Sina❤
@ColorCodeio
Жыл бұрын
Thank you
@justingarner5425
2 жыл бұрын
great video I had to subscribe because the production quality was so good thank you so much for a tutorial that a human can understand
@ColorCodeio
2 жыл бұрын
You’re welcome :)
@kylemyers5802
Жыл бұрын
This was extremely helpful, the examples were awesome and the way you explained them made them all click for me. Thanks!
@ColorCodeio
Жыл бұрын
Great to hear!
@NexumCore
Ай бұрын
I just understood wtf is a function and now i know that functions can take other functions!
@ivandedic3857
2 жыл бұрын
best explanation ever
@kemekenneth
Жыл бұрын
Love the animations/transitions
@jatilyadav4000
Жыл бұрын
Amazing and Informative as always .......Good luck
@ColorCodeio
Жыл бұрын
Thanks!
@Danny-wu5ct
Жыл бұрын
THIS content is better than my bootcamp's content
@ColorCodeio
Жыл бұрын
Glad to hear it
@elielberra2867
8 ай бұрын
All your videos are incredible useful, and super easy to understand! Thank you so much :)
@mohithp8700
2 жыл бұрын
It was really useful I was doing challenges in leetcode and there are many challenges related to HOF You earned a subscriber
@ColorCodeio
2 жыл бұрын
Awesome, thank you!
@TheReadWellPodcast
2 жыл бұрын
I'm pretty sure you're the coolest programmer ever.
@ColorCodeio
2 жыл бұрын
Haha I doubt it but thank you!
@raulnardone7062
Жыл бұрын
Very clear and concise. Many thanks !
@ColorCodeio
Жыл бұрын
🙏
@webdeveloper2769
2 жыл бұрын
he deserves 1 million subscribers
@ColorCodeio
2 жыл бұрын
Soon :)
@nemanjakaran8799
2 жыл бұрын
Very concise, and very well explained - good job and thanks!
@ColorCodeio
2 жыл бұрын
👍
@xv3lito378
3 жыл бұрын
Great video! Very helpful. Also, I like your taste in films. Dark Knight and Goodfellas are great. ;)
@ColorCodeio
3 жыл бұрын
Haha thanks!
@bob_bobsen
2 жыл бұрын
nice clean background - great info on video
@ColorCodeio
2 жыл бұрын
Thank you!
@Jok3rundead
Жыл бұрын
Love your videos man! You explain things very clearly and concisely while also keeping it fun at times with your jokes. Brilliant channel please keep it going until the end of time :)
@ColorCodeio
Жыл бұрын
Thanks! No plans to stop any time soon :)
@chenzierkabrabam3060
Жыл бұрын
The way you explain code is easier to understand. I request you to record a content about React stuff if possible. Happy coding.
@ColorCodeio
Жыл бұрын
Maybe soon
@anontar6316
3 ай бұрын
Just stumbled my way here.. was looking for a high order function deff and was prepared for a boring sleepy video... but boy was I wrong. Btw... I will look over your playlist... but I think you should create an entire course... if you can and have the time of course
@ColorCodeio
2 ай бұрын
Thank you so much
@charlesfulnecky1974
3 жыл бұрын
Higher order functions FTW. Very handy in combination with Redux-Observable with or without React 😁
@ColorCodeio
3 жыл бұрын
Yes! The functional master has spoken!
@FranciscoJoseOrtegaDiaz
Ай бұрын
New subscriber here! Great explanation! ❤
@ColorCodeio
Ай бұрын
Thank you, and welcome aboard
@joshua_hc_cr
2 жыл бұрын
Like the new studio, or old I dunno 😅😂 Thanks for the explanation.
@ColorCodeio
2 жыл бұрын
🙏
@jetbob309
2 жыл бұрын
You earned my sub! Thank you for this clear explanation
@ColorCodeio
2 жыл бұрын
Awesome :)
@ludwigvillalba1886
Жыл бұрын
Thanks for sharing!
@ColorCodeio
Жыл бұрын
Thanks for watching!
@andrew.schaeffer4032
Жыл бұрын
Great videos thank you. Just one thing I think could make them better would be if they were shorter/more concise.
@danivermel
Жыл бұрын
Very well explained!
@chrisdietrich1533
3 жыл бұрын
Thanks for another great video!
@ColorCodeio
3 жыл бұрын
You're welcome Chris
@devesh21
Жыл бұрын
Loved it ❣️
@KalenNorton
2 жыл бұрын
Awesome 👏🏾
@ColorCodeio
2 жыл бұрын
Thank you brother Kato!
@zero11010
2 жыл бұрын
I don’t understand most usages of higher order functions. Would love some help! There are separate issues. The example at 8:50 with a function that returns a function does not make sense at all. Why not just create a function that does the thing while taking in that parameter? What do you gain out of writing a function that returns an anonymous function that does the work instead of writing a function that does the thing in the first place? The issue I have with map and filter and the rest is separate. In specific usages they’re great. I see them chained often and this drives me crazy because of the inefficiency. Each loops over every element. Each creates a separate array which itself takes time and space. Instead of chaining multiple together (which seems to be common) I don’t understand why people don’t use a single loop with the logic so you only iterate over each element once and only need to create a single array to return in the process. For usages where you only use one or can only possibly iterate over a small number the inefficiency seems trivial. I’ve seen this done over tens of thousands of items and on a backend writing something twice as efficient feels like the way to go cutting down on database drag. Chaining multiple together feels like writing several separate loops each creating a bunch of data that only gets used to write another loop to create more data to write another loop …. Or you could write a single loop! Instead of taking in a function as a parameter, why not use scope to gain access to a function? What is the benefit to doing it this other way? This seems common with callbacks. Most of the time it seems more direct to just write the functionality so it’s available in scope.
@abelmarkos5753
2 жыл бұрын
Hello and very well explained topic How can you build your own higher order function Can you make a video about making our own higher order function like map or filter or reduce
@joaopaulosantos3422
2 жыл бұрын
They way you explain make it seems easy, although it's not hehe
@ColorCodeio
2 жыл бұрын
Thanks :)
@LuxuryLifeStyle96
Жыл бұрын
If you dosen't mind , which company you work in sir .
@riteshgoswami7226
Жыл бұрын
I am really getting confused between the parameter and argument here. Some are saying HOF takes another function as a parameter while others are saying it takes it as an argument. Can you please clarify it?
@ColorCodeio
Жыл бұрын
Same thing
@essaadi_elmehdi6784
2 жыл бұрын
That's great, also the quality is really high, even only the into can make u click the subscribe button.
@ColorCodeio
2 жыл бұрын
Haha thank you
@deepikadhanasekaran1119
Жыл бұрын
Hi, function name(callback){ callback() } this s callback function ,this s normal function inside another function invocation ,function name() { anotherFunction() } both function doing same, can u explain difference
@tushar207
11 ай бұрын
God level stuff!
@ColorCodeio
11 ай бұрын
God level comment
@tushar207
10 ай бұрын
Thanks “STEVE”
@weibinren92
2 жыл бұрын
Could you also explain in more detail function factories?
@balighghaleb4021
2 жыл бұрын
thanks alot
@ColorCodeio
2 жыл бұрын
👍
@anujupadhyay10
Жыл бұрын
it's still uncanny how the guy in the painting actually has the remarkable similarity to Billy Bats. 02:07
@ColorCodeio
Жыл бұрын
Agreed
@a-mok-youb
Жыл бұрын
Hi Sina, thank you for the lessons. I have benefited a lot from you. I have a question regarding SetTimeout()،Is it possible to change the display duration of a function from time to function so that it is displayed after initializing and executing the first function? Example : setTimeout(function(),2000); to: setTimeout(function2(),function1()); I hope you get the idea،Thank you, Sina.
@ColorCodeio
Жыл бұрын
As long as function1 returns an integer I don’t see why not.
@wiviviwi
3 ай бұрын
What's the movie?
@shaikhanuman8012
Жыл бұрын
Thanks 🙏
@mickeyp1291
Жыл бұрын
You say "i could use a function but everyone is gonna shout at me" damn right. You should not use function, as this manipulates state (this) you need static lambda (arrow) only. This also makes sure that this function will never be externally referenced when run by multiple parallel instances. If you use function you change state and in async/parallel its gonna bite you in as$
@ataurahmandaudzai8198
8 ай бұрын
Thanks Dear So much Funny
@diegogallardo8281
Жыл бұрын
graphics are niceeee
@ColorCodeio
Жыл бұрын
👍
@tetianazhuchenko2182
Жыл бұрын
👍👍👍👍
@ColorCodeio
Жыл бұрын
👍
@PiyushAggarwal-hz9es
Ай бұрын
Salute 🫡
@Pseudo___
10 ай бұрын
How would js developers “probably not know these things”??
@meeralamgir
Ай бұрын
Am I the only one that can't hear anything after 0:13 sec
@evanvictor1206
Ай бұрын
Me too
@himabindhu4831
6 ай бұрын
enjoyed learning!
@JoshPeterson
11 ай бұрын
The volume went out after your intro 😢
@sabu4539
11 ай бұрын
goodfellas
@BowlofIndoMee
3 ай бұрын
Why not just call it funception?
@francescaperfume
3 ай бұрын
Aeveral of your videos have nosound
@devalberto
Жыл бұрын
what is the meaning of life
@BrantK147
7 ай бұрын
The concept is simple but the application can easily become inception hell 😭😭😭
@SachinMahato-w9k
Жыл бұрын
What's meaning of life. 😅
@samuvisser
Жыл бұрын
I hoped to see some offended people with names starting with Q. Too bad
@ColorCodeio
Жыл бұрын
It's all in good fun :) Nothing personal against anyone.
@francescaperfume
3 ай бұрын
Ŵ heres the sound?
@aleclloydprobert6897
3 жыл бұрын
This series is very well done, and extremely clear and useful. Can't wait for the episode on closures.
@ColorCodeio
3 жыл бұрын
Thank you Alec!
@Yawnz2
2 жыл бұрын
Currently 8 weeks into a web development bootcamp and i'm extremely lost....your videos are really helping me out man thank you!
@ColorCodeio
2 жыл бұрын
That's awesome to hear! Good luck.
@dostonbekabdusattorov4320
3 жыл бұрын
💥💥👍👍👍
@ColorCodeio
3 жыл бұрын
👍
@lloydchan9606
3 жыл бұрын
these edits are so clean and entertaining, i wish more people saw you
@ColorCodeio
3 жыл бұрын
I appreciate that
@mohammadmirzaei9941
Жыл бұрын
عالی بود ایول
@ColorCodeio
Жыл бұрын
Merci
@asauu4745
2 жыл бұрын
guy deserves more subs!
@ColorCodeio
2 жыл бұрын
Ty!
@Evildragonfirez
2 жыл бұрын
Awesome Goodfellas reference
@ColorCodeio
2 жыл бұрын
🇮🇹🇺🇸
@gatorgrad
11 ай бұрын
thanks for the video
@Vikram_Naik
Жыл бұрын
ThankYou sir, May i know how to prepare those stunning animated ppt/slides...
@ColorCodeio
Жыл бұрын
I manually create the animations myself in Final Cut Pro and Apple Motion
@suryatejaparvata
2 жыл бұрын
@ColorCodeio
2 жыл бұрын
👍
@xpkareem
2 жыл бұрын
Helpful.
@jasonlago5129
Жыл бұрын
Youre the most underrated youtuber on the youtubes
@ColorCodeio
Жыл бұрын
Underrated comment! Thank you
@tomwilliamson3637
2 жыл бұрын
..and this guy's sayin', "Whadda ya want from me?"
@ColorCodeio
2 жыл бұрын
hah
@leonnorlazami2304
Жыл бұрын
You got yourself a new subscriber! I'm having a hard time with functions and this somehow helped me understand ( still need more practice tho, any suggestions?)
Пікірлер: 262