You currently have nearly a 75% chance of winning a Quokka JS license if you donate just $1!!!! Let’s cure childhood cancer together! Details in description.
@semikolondev2 жыл бұрын
Your recap after coding the function is really, really well done. Your deconstruction of the loop and the steps by steps explication is on point! Not enough developer on youtube do it. Keep the great work mate!
@CodinginPublic2 жыл бұрын
🙏 glad it was a help! I find walking back through it helps me, too!
@zalodias1232 жыл бұрын
You explain concepts in a very concise, understandable way. Reduce was definitely something I was afraid of, but feeling more comfortable to use it with your videos. Thanks for that!
@CodinginPublic2 жыл бұрын
So glad to hear that! Thanks for saying something!
@101stDay2 жыл бұрын
Fantastic as always, Chris!
@CodinginPublic2 жыл бұрын
Thanks, Neil!
@FromagioCristiano Жыл бұрын
Reduce is a powerful tool once you finally understand it. Tip: consider adding a pinned comment when sharing a related video (could also place that small video thumbnail/title combo somewhere in the video). Sometimes the video and shorts are posted apart of one another. I went to check the said tutorial video and didn't "find" it, because it was 8 months ago, but realized it only because I tried looking at this Shorts description (sadly it is really hidden on mobile interface). Can't really say about Shorts on desktop because I hide all of them on there. KZbin really should add that handy info/related content that appears on the corner of videos. But what can we expect, right? Lately they are actually inclined to do awful decisions. That's just a suggestion, your videos are clean and concise to the point, thank you for sharing it with us!
@CodinginPublic Жыл бұрын
Great idea! Added! Thanks!
@Abhi_732 жыл бұрын
BROTHER, YOU ARE THE BEST!!! You oooh really helped me!! THANK YOU VERY MUCH!
@CodinginPublic2 жыл бұрын
👏 so glad it was a help! 🙌
@Abhi_732 жыл бұрын
@@CodinginPublic it's not written by me!!! And i don't know what Java is too... Is this a glitch?
@haikoerinkveld42422 жыл бұрын
Watching this because you're using the method in your new Astro video. Spend the whole evening wrapping my head around it... I thought i understand the reducer but just with simple numbers, but using it with arrays and objects is next level. really powerfull but also really confusing... atleast for me.
@CodinginPublic2 жыл бұрын
It IS confusing! It's just a hard thing to wrap your head around. I still have to look up the docs. I did a JavaScript challenge video on my channel recently giving some more practice examples. But just keep at it; you'll find it's especially useful when you need an object at the end or need to both filter and map through an array (because you can basically do both in the same loop using reduce).
@Snooperkingg Жыл бұрын
i was struggling with reduce before i found this video ,then on 3rd exercise i was stuck 2 days but then at the end i got it very well step by step which is i consider very important so thank you for pushing me to learn what is happening and how
@CodinginPublic Жыл бұрын
So glad it was a help!
@abaydotdev Жыл бұрын
Crazy good explanation!
@CodinginPublic Жыл бұрын
Glad it was helpful!
@neontuts56372 жыл бұрын
Hey, Thanks Chris for making a detailed video on reduce array method. Now it's easy to solve codewars problems using this method. Like the sum of even numbers in the array. You explained it clearly Thanks once again 🙏
@CodinginPublic2 жыл бұрын
You’re welcome, Neon! Glad it was a help!
@sarveshpatil17412 жыл бұрын
Super well explained.
@CodinginPublic2 жыл бұрын
Thanks for the kind words! Glad it was a help!
@MuhammadAdnan2.02 жыл бұрын
well explained,,,,,,
@CodinginPublic2 жыл бұрын
🙏 you’re welcome!
@MuhammadAdnan2.02 жыл бұрын
bro do more for reduce and filter in separate vdos of each function
@CodinginPublic2 жыл бұрын
I did do a challenge video here with some examples of both! kzbin.info/www/bejne/qKHbonyliZ1rpbM
@MuhammadAdnan2.02 жыл бұрын
@@CodinginPublic thanksssss
@jellyfish17722 жыл бұрын
Plz tell me your vs codes theme
@CodinginPublic2 жыл бұрын
I _think_ this is Palenight Operator?
@jellyfish17722 жыл бұрын
@@CodinginPublic thanks.love u bro
@Xamy-2 жыл бұрын
For us lazy mobile viewers, when teaching a new topic do you think it would be possible to throw up a definition/a summary of what the function does on screen for like 5 seconds in largeish font to read? 1st world problems I know
@Yusuf-ok5rk2 жыл бұрын
then we would see that part and leave the video, leading to the video having bad rep on algorithm's part. nearly everyone play to algorithm, some balance it with rly good content.
@Xamy-2 жыл бұрын
@@Yusuf-ok5rk hmmm then perhaps what we will be doing upfront to suck me in? Like mr Kevin Powell does
@CodinginPublic2 жыл бұрын
Ha-I'll consider it. I'm not sure I could make it into a concise sentence that's helpful. I try to zoom in enough for mobile viewers (I'm primarily a mobile viewer myself). Thanks for the feedback!
@CodinginPublic2 жыл бұрын
Yeah, I try not to think too much about algorithms and just make videos I'd watch. It's a never-ending spiral if you’ve always got an eye to an algorithm. But truthfully, I'm not sure I'd enjoy watching a video with a splash screen and dictionary definition. But I do think I could have done a better job setting up this intro, so I like the feedback all the same :)
@OnlyJavascript2 жыл бұрын
Sorry, I am new to JS. Can someone explain me this:- in example 2, valueIfExists = acc[key] || 0; what does it return if it's already in there? thanks in advance.
@OnlyJavascript2 жыл бұрын
@9:32
@CodinginPublic2 жыл бұрын
Sorry that wasn’t clear. If it’s already there, it returns the value that’s already present. Otherwise, it returns 0.
@CodinginPublic2 жыл бұрын
At least that’s what I’m assuming from memory and seeing what you wrote :)
@OnlyJavascript2 жыл бұрын
@@CodinginPublic count of that key?
@CodinginPublic2 жыл бұрын
Yes, it’s current count value.
@tapank4152 жыл бұрын
it is the least used array method for me.
@CodinginPublic2 жыл бұрын
Yeah, I think that's probably still the same for me, but I've been using it more and more lately and really started to enjoy it!