JavaScript Pure Functions - Tutorial for beginners

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

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

  • @ColorCode-io
    @ColorCode-io  11 месяцев назад +33

    Episode 16: Pure Functions 🤘👨‍💻🔥🎉

    • @sergiu6650
      @sergiu6650 11 месяцев назад +3

      Well done .. Craig!, Can you post more often ? :D Maybe some React stuff ?

  • @ALENonEIC
    @ALENonEIC 11 месяцев назад +12

    Honey, wake up. ColorCode posted a new JavaScript video.

  • @javeedakhter324
    @javeedakhter324 11 месяцев назад +17

    Javascript legend 🎉👍

  • @beinyourguard
    @beinyourguard 11 месяцев назад +7

    Sina I LOVE your way of teaching, it's just so simple, entertaining and helpful

  • @mikeJohnson2222
    @mikeJohnson2222 11 месяцев назад +3

    Bro thanks... The way you break down the entire language is awesome.

  • @4rmboy
    @4rmboy 11 месяцев назад +7

    You know you have the perfect combo. The videos are both interesting and useful.

  • @kiranshelar2961
    @kiranshelar2961 9 месяцев назад +2

    Best content for understanding difficullt javascript concepts! Thankyou

  • @MeetPatel_01
    @MeetPatel_01 9 месяцев назад +3

    i been browsing advanced Js tutorials all around, i got few but sounds boring, i really appreciate the energy you got while explain things, totally love it, can't wait for more content.

  • @jonathanserwano9948
    @jonathanserwano9948 9 месяцев назад +2

    man you are the best at acting and explaining complex stuff for me, i really enjoy your videos

  • @mohammadabbas1623
    @mohammadabbas1623 11 месяцев назад +8

    Oh man, we need a video editing tutorial as well 😛🤩

  • @nirau
    @nirau 10 месяцев назад +4

    So happy to found your channel, it makes my frontend developer study journey so much better! Cheers

  • @sugarfairy1248
    @sugarfairy1248 9 месяцев назад +1

    Love your style of video editing and how you present the concepts in such a fun way! You deserve much much more subscribers!

  • @hessamt800
    @hessamt800 11 месяцев назад +2

    Hats off to you, nice to have you back.

  • @BigBabyofTel
    @BigBabyofTel 11 месяцев назад +4

    Your style of teaching is effective. I hope you get the energy to do something similar with Typescript. This series on JS is already one of the best ones on YT

  • @amsxiety
    @amsxiety 11 месяцев назад +5

    Best conceptual coding videos ❤

  • @franexmo81-
    @franexmo81- 11 месяцев назад +3

    Brief, simple, clear and fun.
    Thanks for this amazing learning material

  • @JohnnyDiabetes
    @JohnnyDiabetes 9 месяцев назад +1

    ...when you find out your nascent skillset/hobby comes with a RUclipsr that makes incredible content with clarity, humor, style, and beauty. And you just wish you could make him understand how much you appreciate him...
    Thank you, Sina. You're like that indie film that is so special that you want everyone to see it and love it as much as you do. You're my developer-resource version of 'Sing Street' (2016). Or maybe 'You Can Count On Me' (2000).
    [digital gratitude hug]

    • @ColorCode-io
      @ColorCode-io  7 месяцев назад

      Thank you for the love, Johnny! Made my day. Great comment.

  • @cosmasdaniella2079
    @cosmasdaniella2079 5 месяцев назад +3

    I don't know why I am just discovering your channel, but I am so glad I did. You are a great tutor.🔥🔥

  • @hollam224
    @hollam224 9 месяцев назад +1

    Love you soo much
    your tutorials are first class

  • @muhammadpro
    @muhammadpro 14 дней назад +1

    Watching it over and over ❤

  • @NikolayVeselinov
    @NikolayVeselinov 11 месяцев назад +2

    Alright, im ready for the next video, keep em coming!

  • @val-do
    @val-do 11 месяцев назад +1

    Your edits are awesome

  • @opsingh861
    @opsingh861 8 месяцев назад +1

    Intro and editing was on the next level 💥💥💥💥

  • @عبداللهزقايق
    @عبداللهزقايق Месяц назад +1

    Man, you are such a legend thank you so much for this beautiful content !

  • @alexngiifamily
    @alexngiifamily 11 месяцев назад +1

    I am in Love with your explanations Bro. It's Amazing.

  • @zero11010
    @zero11010 11 месяцев назад +14

    The song: counting bodies like sheep to the rhythm of the wardrums
    Performed by: a perfect circle
    I love your music references. 👍

  • @215Leon215
    @215Leon215 11 месяцев назад +1

    Been waiting so long for this series to continues! So glad that your back!

  • @junhuama68
    @junhuama68 11 месяцев назад +1

    Thank you so much! This is pure and simple to understand! Nice haircut! SO SO SO Looking forward to the next episode!!! Thank you again!!!!

  • @krypton_dev
    @krypton_dev 11 месяцев назад +3

    Thank you sinaaaa ❤

  • @chhavimanichoubey9437
    @chhavimanichoubey9437 11 месяцев назад +1

    My favourite online coding teacher is back

  • @tonyhomfray
    @tonyhomfray 10 месяцев назад +1

    You’ve explained pure functions in a way that I finally understand! 🎉 Thank you! 🙏🏼
    Loving this whole series ❤ I found it searching for the Fetch API and have been back to watch the whole series 👌🏻

  • @RobertMcGovernTarasis
    @RobertMcGovernTarasis 11 месяцев назад +1

    Really curious, what is the tool you are using for the live coding? Looks useful, particularly for learning / testing ideas.

    • @ColorCode-io
      @ColorCode-io  11 месяцев назад

      It's called RunJS. Here's my affiliate link: runjs.app/colorcode

  • @dhiflaouibelgacem8146
    @dhiflaouibelgacem8146 11 месяцев назад +1

    Thank you for your efforts

  • @bmehder
    @bmehder 11 месяцев назад +1

    The best tutorials.

  • @paternyao
    @paternyao 10 месяцев назад +1

    Starting at 3:00, how do you access this clear code editing space in the browser? Which browser is it? How do I access this window? It’s so clean!

  • @himalayanmonk3350
    @himalayanmonk3350 7 месяцев назад +1

    Good sir , you are a gentleman and a scholar ❤

  • @kbkmn
    @kbkmn 11 месяцев назад +1

    great video as always. i think that you should address that functional programming is often about higher order functions and state separation

  • @bhuvaneshraj5405
    @bhuvaneshraj5405 Месяц назад +1

    this man is underrated more people should be aware about his content

  • @GiggleSnips
    @GiggleSnips 11 месяцев назад +1

    Your videos are really great ❤ thankyou.
    I request you plz do videos on React Hooks

  • @sam_6480
    @sam_6480 9 месяцев назад +1

    Such a wonderful tutorial ❤ Would you do an episode about design patterns and maybe software testing in the future?

  • @divineamos3296
    @divineamos3296 6 месяцев назад

    You can't believe how good this tutorials are!

  • @creed_forever
    @creed_forever 9 месяцев назад +1

    So creative representation.

  • @puyakhalili
    @puyakhalili 11 месяцев назад +1

    Amazing video thanks a lot Sina. BTW how do you get the code continuously running on the right pane? is that Quokka ? and how do you get it to run in a separate column?

    • @ColorCode-io
      @ColorCode-io  11 месяцев назад +1

      It's called RunJS - Here's my affiliate link: runjs.app/colorcode

    • @puyakhalili
      @puyakhalili 10 месяцев назад

      @@ColorCode-io Wow incredible! Thanks Sina :) BTW I love the Gholi cameos in your videos! Our beloved childhood friend ;)

  • @aj_hari_7
    @aj_hari_7 11 месяцев назад +1

    We need consistent videos from Sin Jazzz 🎉

  • @chetansingh575
    @chetansingh575 11 месяцев назад +1

    Thank You for this video. ❤

  • @ianfrye8988
    @ianfrye8988 11 месяцев назад +1

    Also the no side effects is so important in state management and the core concept of libraries like redux. Never modify state directly. Only return an updated state

  • @shahidshafi1227
    @shahidshafi1227 11 месяцев назад +2

    Extension for console??

  • @lifelens-n2r
    @lifelens-n2r 11 месяцев назад +1

    hey, I love your teaching style. please make a video on Garbage collection and circular referenced objects.

  • @BigSmoke-r9w
    @BigSmoke-r9w 10 месяцев назад +1

    Best. Intro. Ever. ❤

  • @renzodiaz5996
    @renzodiaz5996 10 месяцев назад +1

    I hope we get a "Qoli" face reveal by Episode 20 :)
    Awesome video man!

  • @davidag90
    @davidag90 11 месяцев назад +2

    Someone has been watching "Succession" hahaha hahahaha. Thanks a lot Sina, your content never let me down. Cheers!!

  • @BeeBeeEight
    @BeeBeeEight 11 месяцев назад +2

    This video should be a preparatory course for React beginners 😏

  • @SebastianFinkel
    @SebastianFinkel 11 месяцев назад +1

    Nice one! ❤

  • @CSCoreDecoded
    @CSCoreDecoded 11 месяцев назад +1

    Welcomeee baaack🔥🔥🔥🔥

  • @IlPandax
    @IlPandax 11 месяцев назад +1

    You deserve a lot more credits for your videos. ;)
    Anyway, may I ask a video about the semi colon? Is it good, is it bad, why was removed... :D

    • @ColorCode-io
      @ColorCode-io  11 месяцев назад +1

      I don't use them in these tutorials just to make things a little cleaner, and it doesn't really have an impact with some rare exceptions in return statements

    • @IlPandax
      @IlPandax 11 месяцев назад

      @@ColorCode-ioAh ok! Thanks! :D

  • @ianfrye8988
    @ianfrye8988 11 месяцев назад

    One reason I love typescript. It catches a lot of this

  • @hilariousness4393
    @hilariousness4393 11 месяцев назад +1

    I was hapoy to see you in my notification panel

  • @NadaII
    @NadaII 11 месяцев назад +2

    Coding fact: If you write a function that sets the CSS variable for Sina's hair to 'hidden' and attach an onClick, you can transform him into Stanley Tucci. Add a 0.5s ease-in-out for a smoother transition.
    This is based purely on the thumbnail to this video btw..

  • @EssedikAbdelRahimStudentBachou
    @EssedikAbdelRahimStudentBachou 2 месяца назад

    what do you use for coding as an envirenement? thats interesting

  • @keja5512
    @keja5512 8 месяцев назад

    Pure presentation of Pure func👍👍

  • @muhammad_faraz_ali
    @muhammad_faraz_ali 11 месяцев назад +1

    Great Job Sina! Amazing content.👑 Kindly post react content as well

  • @ivo_sa
    @ivo_sa 10 месяцев назад

    when is your course dropping ? cant wait!

    • @ColorCode-io
      @ColorCode-io  10 месяцев назад

      Working on it as we speak. Make sure you join the list on www.colorcode.io

  • @Nick-o2s5h
    @Nick-o2s5h 11 месяцев назад +1

    Javascript legend is back 🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳

    • @ColorCode-io
      @ColorCode-io  11 месяцев назад

      🕺🏻🙇🏻‍♂️

  • @Spunky_Tx
    @Spunky_Tx 6 месяцев назад

    Thank you 🐐

  • @davidvernon3119
    @davidvernon3119 11 месяцев назад

    Great video, great singing. I would add that while you can write pure functions in JavaScript, the language doesn’t support them the way some fancier languages do. For example in rust all functions are pure by default and the compiler guarantees this and you have to declare your intentions to be impure (to sin) by including self as an argument.

  • @PhantomDeluxe1111
    @PhantomDeluxe1111 7 месяцев назад

    Hey Sina! Wonderful video can youu tell me which editing software you use to edit your videos? Wow come on man sick editing!

    • @ColorCode-io
      @ColorCode-io  5 месяцев назад

      Final Cut Pro + Apple Motion

    • @PhantomDeluxe1111
      @PhantomDeluxe1111 5 месяцев назад

      @@ColorCode-io oh thank you Sina and can you make a video on expression and statements like a full video becz It is very confusing and I would be pleased to see u upload one, thank you in advance😅😄😄🙂

  • @Diego_Cabrera
    @Diego_Cabrera 10 месяцев назад

    Sir you’re an amazing teacher. I aspire to be as clear and concise with my videos as you are. May I ask how you do you color grade your videos (lut or preset?) bc they’re beautiful. Also how do you edit your self right beside your editor? Is it a template for your screen recording or editing software?

    • @ColorCode-io
      @ColorCode-io  10 месяцев назад

      It's got more to do with lighting and a good lens than software. Watch some tutorials on lighting before getting into LUTs, then you can do color correction based on your environment.

  • @amirkishk
    @amirkishk 11 месяцев назад +1

    Finally 🎉🎉🎉🎉🎉

  • @denisveli9465
    @denisveli9465 8 месяцев назад +1

    Thank you for the amazing content!
    Sorry about the awkward questions but I really like you glasses. Could you tell me the brand and the model, please?
    Thank in advance and keep up with the videos you're doing!

    • @ColorCode-io
      @ColorCode-io  8 месяцев назад

      www.warbyparker.com/eyeglasses/dawson/azure-crystal-with-oak-barrel

  • @mehmedshehov302
    @mehmedshehov302 5 месяцев назад

    Very nice video, just a small tip from me. It will be better if you keep the background music one notch down

  • @RostyslavNazarenko
    @RostyslavNazarenko 9 месяцев назад

    Can we have a video in unit testing? But I'll probably learn it by myself till then) but I love your videos and type of teaching, and of course, I love you ♥😍😍

  • @karlstenator
    @karlstenator 11 месяцев назад +1

    It can be argued that a function executing a console.log is an impure function, as its side-effect is writing to the console.

  • @劉奕德-o2s
    @劉奕德-o2s 11 месяцев назад

    Hi, Please let me know how to use spotlight effect on Mac mouse, thanks!

  • @behindthescene4406
    @behindthescene4406 11 месяцев назад +1

    I been waiting since long 😭😭😭😭

  • @ImHansana123
    @ImHansana123 25 дней назад

    ColorCode Wakeup, It's time for a new video!!!

  • @asi7377
    @asi7377 10 месяцев назад

    what code editor you are using? i want that simplicity

  • @sebastianguerrero5629
    @sebastianguerrero5629 8 месяцев назад

    Hi Sina, amazing work bro
    I would like to suggest this topics for future videos:
    💎 Getters and Setters
    💎 Short circuit operator
    💎 Event Propagation
    Thanks for the quality of the content, greetings from Colombia

  • @mohamadhag6338
    @mohamadhag6338 8 месяцев назад

    The inventor of fun JavaScript:

  • @rasheds_miya
    @rasheds_miya 4 месяца назад

    Sir give full playlist on JavaScript 😊

  • @raghavenderkuppireddy7158
    @raghavenderkuppireddy7158 11 месяцев назад +1

    Waiting ... && ❤❤❤🎉🎉🎉

  • @copytopgrade6458
    @copytopgrade6458 11 месяцев назад

    hello, what font do you use ?

  • @CLeovison
    @CLeovison 11 месяцев назад

    Can you please do a video about side effect?

    • @ColorCode-io
      @ColorCode-io  11 месяцев назад +1

      I cover side effects in this video

  • @ardavural4649
    @ardavural4649 11 месяцев назад

    where is ur podcast :(

  • @cholo2605
    @cholo2605 11 месяцев назад +1

    GOAT!

  • @broken_diesel
    @broken_diesel 9 дней назад

    i do not say this lightly but this particular video " primarily" feels like how the future of education will look like. kids using chat gpt in the classroom guided by videos like this..

  • @shinigamiryoutaro
    @shinigamiryoutaro 11 месяцев назад +2

    He actuallyt made me drink water.. thanks yo

  • @creed_forever
    @creed_forever 9 месяцев назад

    Rule 1 : one-to-one relation

  •  2 месяца назад

    Succession 💪

  • @ImHansana123
    @ImHansana123 25 дней назад

    16:50 That's weird.

  • @endfine9230
    @endfine9230 10 месяцев назад

    I came looking for copper and found gold

  • @opencode1
    @opencode1 11 месяцев назад +1

    wooooooohoooo you da best :))))

  • @djhi-tek9249
    @djhi-tek9249 11 месяцев назад

    Are you a syrian living in turkey ?

  • @longingbydesign
    @longingbydesign 11 месяцев назад

    "JavaScript
    MasterClass
    Available Spring 2023" ...

  • @badr5465
    @badr5465 11 месяцев назад

    aleluya! hehe

  • @PooriaHana
    @PooriaHana 8 месяцев назад

    salut('Logan') never can be a pure function! It can unexpectedly return "Fu*k off" :))

  • @Conserveusaxx
    @Conserveusaxx 10 месяцев назад +1

    Your videos are absolutely 🔥. Dude, dope a$$ jacket 🫡

  • @mohamadhag6338
    @mohamadhag6338 8 месяцев назад

    The inventor of fun JavaScript: