Pure Functions / Intro to JavaScript ES6 programming, lesson 17

Sdílet
Vložit
  • čas přidán 16. 02. 2017
  • Explore the idea of determinism, side effects, and purity in functions. Get to know the beauty of pure functions.
    Learn to code, the humane way → codexpanse.com/

Komentáře • 57

  • @lostofis
    @lostofis Před 7 lety +28

    Amazing explanation, this is the best explanation I ever seen about Pure Function. I'm illuminated!

  • @ssj1260
    @ssj1260 Před rokem +1

    Wtf, I just found this channel, the explanations are just incredible, i'm terribly sad they have stopped tbh

  • @JackCkiller
    @JackCkiller Před 7 lety +35

    bra this is some really original shit. really good content

    • @Codexpanse
      @Codexpanse  Před 7 lety +1

      Aaaw, thanks! Super glad you liked it.

  • @cyberlord64
    @cyberlord64 Před 6 lety +7

    Beautiful presentation. Educational videos here on youtube vary from ones which require effort to understand and those like yours which feels like you are downloading knowledge directly into your brain. The language-agnostic approach of your presentation was also very helpful for those of us who want to understand this concept but do not work with javascript. Great job!

  • @JayRGabz
    @JayRGabz Před 4 lety +2

    this video deserves more views.... and this channel deserves more subscribers

  • @LeeDazler123
    @LeeDazler123 Před rokem

    you do the best videos to explain javascript, thaink you!

  • @fadyahjoudah8015
    @fadyahjoudah8015 Před 3 lety

    kudos for the effort, flowless delivery

  • @faizahmadfaiz2127
    @faizahmadfaiz2127 Před 7 lety +6

    Very useful! The way of explaining was so clear .How you relate and give the overall picture was awesome!

  • @EastSun5566
    @EastSun5566 Před 5 lety +1

    This is freaking AWESOME ✨🔥🚀! Please keep updating, thank you!

  • @ibknl1986
    @ibknl1986 Před 3 lety

    The best explanation of Pure function I have gone through online till now. This is the first video of your channel I watched and I just immediately subscribed. 👍

  • @raconvid6521
    @raconvid6521 Před rokem

    I love how he does the irl box functions

  • @01071985hh
    @01071985hh Před 6 lety +2

    wow very good visual explanation, difficult to forget !, thanks

  • @dEsTiNy3HaCkEr
    @dEsTiNy3HaCkEr Před 6 lety +1

    this is some next-level video, just wow!

  • @CyrusPieris
    @CyrusPieris Před 3 lety

    I really enjoyed this series. Hope you will continue. I am going to watch it again 😀

  • @kalsho83
    @kalsho83 Před 2 lety +1

    we should invent a term of PURE TUTORIAL.. I'm surprised why you stop producing this type of AMAZING work !!

  • @JackCkiller
    @JackCkiller Před 7 lety +3

    plus the notes on your lessons are really useful

  • @rollyrodrigz5069
    @rollyrodrigz5069 Před 4 lety +2

    Excellent explanation.

  • @utkarshupadhyay9311
    @utkarshupadhyay9311 Před 6 lety +1

    Very good content.

  • @aashishsapkota9089
    @aashishsapkota9089 Před rokem

    Excellent explanation, the examples provided were mind-blowing you guys must be very intuitively knowledgeable about defining in that way. I loved it keep it up, really helping us.

  • @Mental1993
    @Mental1993 Před 4 lety

    Amazing explanation! Thank you!

  • @umoooo
    @umoooo Před 2 lety

    wow, awesome explanation

  • @adrianiordache4391
    @adrianiordache4391 Před 5 lety

    Thanks! Really interesting and easy to understand

  • @ishwarrimal1393
    @ishwarrimal1393 Před 6 lety +1

    And I bet u.. I was destined to watch this video today. :D

  • @boulderdennis
    @boulderdennis Před 6 lety +1

    Great job. Thank you.

  • @dawid_dahl
    @dawid_dahl Před 5 lety +3

    Really love these videos. Hope you’ll make more!

    • @Codexpanse
      @Codexpanse  Před 5 lety +2

      Hope so too :) Thanks!

    • @supreethdk
      @supreethdk Před 4 lety +1

      @@Codexpanse Please make more. Learning lots of stuff from your videos.
      Thank you :)

  • @21rogerwaters
    @21rogerwaters Před 4 lety

    You guys rock! A video about JS Prototype would be great =)

  • @igorpavlenko411
    @igorpavlenko411 Před 4 lety

    great explaining, thx for ur time

  • @micahhlc
    @micahhlc Před rokem

    Very good expansion!!!!!

  • @lioncat731
    @lioncat731 Před 6 lety +2

    love this video ! Thank you !

  • @shuvoahmed5217
    @shuvoahmed5217 Před 5 lety

    make more videos about JS.. love your explanation

  • @trycatchlearn
    @trycatchlearn Před 5 lety

    today i really understand what are sideeffect, purefunction and deterministic.

  • @Miabeach22
    @Miabeach22 Před 4 lety +1

    Awesome video !!!!

  • @max8hine
    @max8hine Před 7 lety

    the video is as fancy as the word of 'consequence'!

  • @shwackthenoobsac
    @shwackthenoobsac Před 2 lety

    Nice explanation

  • @K.Huynh.
    @K.Huynh. Před rokem

    thank for sharing

  • @bashmogd4468
    @bashmogd4468 Před 4 lety +1

    you re genius

  • @testtest-fl2id
    @testtest-fl2id Před 7 lety

    great video! some code will provide more practical eg

  • @dc6773
    @dc6773 Před 6 lety +2

    Dun stop making video , i bought many courses ended up i confuse myself with all the concept and theory now all making sense to me after watched your video.

    • @Codexpanse
      @Codexpanse  Před 5 lety +1

      Will not stop! I had a loooong break, but I'm getting back to producing new videos soon!

  • @AhmedIsam
    @AhmedIsam Před 2 lety

    Couple of things to add:
    In functional programming paradigm:
    1- Even the argument itself that is sent to a function MUST NOT be changed, this is thought of as an evil behaviour. For example, if a matrix is sent to a function, the function is not allowed to manipulate its entries. It can only copy it and manipulate the entries of a copy (could be expensive).
    This is so crucial, that in Julia programming, they stipulate that a function should have a bang "!" in its name as a grim reminder to the user that this function has evil behaviour.
    2- A MASSIVE consequence of this style is: Object Oriented Programming is bullshit. That's simply because methods of class have access to data of the class (self). In fact, the quintessence of OOP (combining data and code) is antethical to the spirit of functional programming that says a function is a function, it is separate from data.
    Just like Dynamic Programming is flexible and feels awesome for a beginner and fails miserably in large projects, OOP to FP is similar. Once your code is in order of tens of thousands of lines, you can't track what's going on and you start to appreciate functional programming.

  • @freddy9292
    @freddy9292 Před 2 lety

    10/10

  • @nikasamadashvili5828
    @nikasamadashvili5828 Před 6 lety

    why did you stop? that's fantastic :)

  • @TheGryphon14
    @TheGryphon14 Před 4 lety

    I've achieved zen after watching this video

  • @ctfrancia
    @ctfrancia Před 5 lety +1

    when are you going to release more?

    • @Codexpanse
      @Codexpanse  Před 5 lety +2

      I plan to revive this channel in a few weeks.

  • @shajalkumer938
    @shajalkumer938 Před 4 lety

    Why not more video ,,, Looking for more video

  • @JD-kf2ki
    @JD-kf2ki Před 4 lety

    So, the non-deterministic functions are also known as "higher-order functions"???

    • @rakhimd.5703
      @rakhimd.5703 Před 4 lety +1

      No. Non-deterministic and higher-order functions are unrelated concept. A higher order function is a function that takes a function as an argument, or returns a function. It may or may not be deterministic.

    • @JD-kf2ki
      @JD-kf2ki Před 4 lety

      @@rakhimd.5703 Thanks.

  • @MasterZiomekPL
    @MasterZiomekPL Před 5 lety

    Not a single example in the whole video and I still have no Idea what a pure function is. Apparently it's just better