Master JavaScript Array Reduce Method In 10 Minutes

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 32

  • @renatoknot
    @renatoknot Год назад +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

  • @kalaivanib9555
    @kalaivanib9555 Год назад +1

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

  • @JoseAlvarez-dl3hm
    @JoseAlvarez-dl3hm Год назад +2

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

  • @kevinrobertandrews
    @kevinrobertandrews Год назад +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. ☺️

  • @NadaII
    @NadaII 3 месяца назад

    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.

  • @Peggysue_zSut
    @Peggysue_zSut Год назад +1

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

  • @andresfelipearianoramirez2748
    @andresfelipearianoramirez2748 Год назад

    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)

  • @ataru-music
    @ataru-music Год назад

    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 ;)

  • @vasyaqwe2087
    @vasyaqwe2087 Год назад

    Thanks Colt, your explanation is very clear

  • @KILLCHRISU
    @KILLCHRISU Год назад

    Thanks for breaking it down Mr. Steele! It finally clicked for me :)

  • @codiejones3088
    @codiejones3088 Год назад

    Colt Steele teaching me new things every day, thanks brother

  • @bcrowie1
    @bcrowie1 Год назад

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

  • @dabinalab4991
    @dabinalab4991 Год назад +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

  • @lisalin9375
    @lisalin9375 Год назад

    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!

  • @Metovski
    @Metovski Год назад

    YOU ARE THE KING

  • @BlaBlaBlaInDaHouse
    @BlaBlaBlaInDaHouse Год назад

    Another great video, thank you!

  • @sobeyyy
    @sobeyyy Год назад

    Another great video thanks Colt!

  • @JEEJY30
    @JEEJY30 Год назад

    great job sir

  • @oneofone_1333
    @oneofone_1333 Год назад

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

  • @user-yb4fh3zs9e
    @user-yb4fh3zs9e Год назад

    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)?

  • @MS-el8wj
    @MS-el8wj Год назад

    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?

  • @khoushiekram5287
    @khoushiekram5287 Год назад

    Awesome Colt ❤️

  • @AkashKumar-lr6hc
    @AkashKumar-lr6hc Год назад

    Awesome

  • @sh4kirrr448
    @sh4kirrr448 Год назад

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

  • @gawc1uuu124
    @gawc1uuu124 Год назад

    Could you make a video about DTOs in express?

  • @pietricele
    @pietricele Год назад

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

  • @shifronim8950
    @shifronim8950 Год назад

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

  • @Leillofitness
    @Leillofitness Год назад

    Colt podrias poner subtitulos en español?

  • @johnm8358
    @johnm8358 Год назад

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

    • @Darkangel9036
      @Darkangel9036 Год назад

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

    • @darkpain4208
      @darkpain4208 Год назад

      @@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 Год назад

      @@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