Master JavaScript Array Reduce Method In 10 Minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

ความคิดเห็น • 33

  • @kalaivanib9555
    @kalaivanib9555 ปีที่แล้ว +1

    That was the best understanding of an Array method I had in just 10 minutes. Clear and thorough ! Thank you.

  • @renatoknot
    @renatoknot 2 ปีที่แล้ว +3

    I studied Javascript for 1 year or more and never fully understood the Reduce method, just for basic things like sum, but this explanation was monstrous.
    Thank you Colt Steele

  • @toonice555
    @toonice555 หลายเดือนก่อน

    Excellent explanation! In less than 3 minutes i was able to finally implement a semi-complex use case for reduce with ease. Thank you very much.

  • @JoseAlvarez-dl3hm
    @JoseAlvarez-dl3hm 2 ปีที่แล้ว +2

    Nice learning material as always. I learned sql from you better than from my university classes, and now learning new things in javascript

  • @NadaII
    @NadaII 5 หลายเดือนก่อน

    Hey Colt,
    I firmly believe that the name you give your child plays a significant role in their future success. With that in mind, your parents must have really wanted the best for you.
    Your new subscriber and fan,
    Dick Everhard.

  • @kevinrobertandrews
    @kevinrobertandrews 2 ปีที่แล้ว +1

    Another great use case for .reduce() is that you can use it to build up sequences of strings. If you think of code itself as just being a sequence of strings, then it's possible to use reduce to automate writing code. ☺️

  • @Peggysue_zSut
    @Peggysue_zSut 2 ปีที่แล้ว +1

    Thank you for explaining this step by step, its so straight forward and refreshing as always :) 😍

  • @vasyaqwe2087
    @vasyaqwe2087 ปีที่แล้ว

    Thanks Colt, your explanation is very clear

  • @ataru-music
    @ataru-music 2 ปีที่แล้ว

    Reduce object section (8.04min):
    A weak comparison is made with the equality (==) operator where the "null" value is seen in the same way as an "undefined" value.
    If we use the strict equality comparison (===) we see that with "null" we have problems while with undefined we do not.
    I think it is always a good idea to use strinct equality comparisons instead of weak ones, also to avoid wasting time in debugging.
    I always follow you when I can Cold ;)

  • @codiejones3088
    @codiejones3088 2 ปีที่แล้ว

    Colt Steele teaching me new things every day, thanks brother

  • @Andres_Ariano
    @Andres_Ariano 2 ปีที่แล้ว

    Hello Colt i started your web developer bootcamp and im so exited to do it, i'll tell u when i finish it and try to get a job.
    pd(i love how you explain all things)

  • @dabinalab4991
    @dabinalab4991 2 ปีที่แล้ว +1

    When would you want to use this vs writing your own recursive function? They both act in a similar way and in the data structure course, a lot of the recursion examples were similar to these reduce ones

  • @bcrowie1
    @bcrowie1 2 ปีที่แล้ว

    Great video as always! But no extravagant thumbnail?! Colt we were on a roll!

  • @sobeyyy
    @sobeyyy 2 ปีที่แล้ว

    Another great video thanks Colt!

  • @oneofone_1333
    @oneofone_1333 2 ปีที่แล้ว

    Thank you Colt. Are you going to update your Javascript Course?

  • @МаксимВакуленко-к8г
    @МаксимВакуленко-к8г 2 ปีที่แล้ว

    Hi Colt. I would like to ask for advice on which course is better to explain Java script The Web Developer Bootcamp 2022 or The Modern Javascript Bootcamp Course (2022)?

  • @Metovski
    @Metovski ปีที่แล้ว

    YOU ARE THE KING

  • @BlaBlaBlaInDaHouse
    @BlaBlaBlaInDaHouse ปีที่แล้ว

    Another great video, thank you!

  • @pietricele
    @pietricele 2 ปีที่แล้ว

    Do you plan on remaking the Algorithms and Data Structures course as you did with MySQL ? because that would be great!

  • @MS-el8wj
    @MS-el8wj 2 ปีที่แล้ว

    My question is, why lot of people do not recommend using reduce. I saw lot of articles, even lint configuration when it yells when using reduce. What are your thoughts on this?

  • @JEEJY30
    @JEEJY30 ปีที่แล้ว

    great job sir

  • @khoushiekram5287
    @khoushiekram5287 2 ปีที่แล้ว

    Awesome Colt ❤️

  • @lisalin9375
    @lisalin9375 2 ปีที่แล้ว

    Thank you so much Colt! Love your courses on Udemy, you are one of the best teacher I ever encountered, would you consider do some tutorials for PHP? since I would like to be freelancing for website development, wordpress is still widely used... hope I can get some response from you, thanks!

  • @gawc1uuu124
    @gawc1uuu124 2 ปีที่แล้ว

    Could you make a video about DTOs in express?

  • @shifronim8950
    @shifronim8950 2 ปีที่แล้ว

    Is second case doing .map() method? We can do the same with .map(), right?
    I heard that .reduce() wraps .filter() and . map() methods

  • @AkashKumar-lr6hc
    @AkashKumar-lr6hc 2 ปีที่แล้ว

    Awesome

  • @sh4kirrr448
    @sh4kirrr448 2 ปีที่แล้ว

    I was thinking about reduce method abt 20 mints ago and you've just uploaded a vid on it, lol.

  • @Leillofitness
    @Leillofitness 2 ปีที่แล้ว

    Colt podrias poner subtitulos en español?

  • @johnm8358
    @johnm8358 2 ปีที่แล้ว

    Never use it, always leads to unclear code unless it's doing something very simple

    • @Darkangel9036
      @Darkangel9036 2 ปีที่แล้ว

      lol what. Clearly never have worked as a Full Stack Engineer.

    • @darkpain4208
      @darkpain4208 2 ปีที่แล้ว

      @@Darkangel9036 He's a newbie so it's ok. Don't try to be condescending over simple stuff on the internet; it's really not worth it. Bye 👋.

    • @johnm8358
      @johnm8358 2 ปีที่แล้ว

      @@Darkangel9036 I am a full stack actually, I prefer to write readable code, unless I'm summing an array of numbers I don't need it