ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Pure Functions / Intro to JavaScript ES6 programming, lesson 17

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.พ. 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/

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

  • @JackCkiller
    @JackCkiller 7 ปีที่แล้ว +35

    bra this is some really original shit. really good content

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

      Aaaw, thanks! Super glad you liked it.

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

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

  • @lostofis
    @lostofis 7 ปีที่แล้ว +28

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

  • @JayRGabz
    @JayRGabz 4 ปีที่แล้ว +2

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

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

      Thank you kindly! :-)

  • @cyberlord64
    @cyberlord64 6 ปีที่แล้ว +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!

  • @faizahmadfaiz2127
    @faizahmadfaiz2127 7 ปีที่แล้ว +6

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

    • @Codexpanse
      @Codexpanse  7 ปีที่แล้ว

      Very glad you liked it, thanks!

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

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

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

    I love how he does the irl box functions

  • @ibknl1986
    @ibknl1986 3 ปีที่แล้ว

    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. 👍

  • @fadyahjoudah8015
    @fadyahjoudah8015 3 ปีที่แล้ว

    kudos for the effort, flowless delivery

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

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

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

    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.

  • @01071985hh
    @01071985hh 6 ปีที่แล้ว +2

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

  • @rollyrodrigz5069
    @rollyrodrigz5069 4 ปีที่แล้ว +2

    Excellent explanation.

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

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

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

    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.

  • @JackCkiller
    @JackCkiller 7 ปีที่แล้ว +3

    plus the notes on your lessons are really useful

  • @CyrusPieris
    @CyrusPieris 3 ปีที่แล้ว

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

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

    Very good content.

  • @dawid_dahl
    @dawid_dahl 5 ปีที่แล้ว +3

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

    • @Codexpanse
      @Codexpanse  5 ปีที่แล้ว +2

      Hope so too :) Thanks!

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

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

  • @trycatchlearn
    @trycatchlearn 5 ปีที่แล้ว

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

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

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

  • @umoooo
    @umoooo 3 ปีที่แล้ว

    wow, awesome explanation

  • @dc6773
    @dc6773 6 ปีที่แล้ว +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  5 ปีที่แล้ว +1

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

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

    Very good expansion!!!!!

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

    this is some next-level video, just wow!

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

    Awesome video !!!!

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

    you re genius

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

    Great job. Thank you.

  • @shwackthenoobsac
    @shwackthenoobsac 3 ปีที่แล้ว

    Nice explanation

  • @21rogerwaters
    @21rogerwaters 4 ปีที่แล้ว

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

  • @Mental1993
    @Mental1993 4 ปีที่แล้ว

    Amazing explanation! Thank you!

  • @igorpavlenko411
    @igorpavlenko411 4 ปีที่แล้ว

    great explaining, thx for ur time

  • @adrianiordache4391
    @adrianiordache4391 5 ปีที่แล้ว

    Thanks! Really interesting and easy to understand

  • @lioncat731
    @lioncat731 6 ปีที่แล้ว +2

    love this video ! Thank you !

  • @max8hine
    @max8hine 7 ปีที่แล้ว

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

  • @shuvoahmed5217
    @shuvoahmed5217 5 ปีที่แล้ว

    make more videos about JS.. love your explanation

  • @K.Huynh.
    @K.Huynh. ปีที่แล้ว

    thank for sharing

  • @TheGryphon14
    @TheGryphon14 4 ปีที่แล้ว

    I've achieved zen after watching this video

  • @nikasamadashvili5828
    @nikasamadashvili5828 6 ปีที่แล้ว

    why did you stop? that's fantastic :)

  • @testtest-fl2id
    @testtest-fl2id 7 ปีที่แล้ว

    great video! some code will provide more practical eg

  • @shajalkumer938
    @shajalkumer938 4 ปีที่แล้ว

    Why not more video ,,, Looking for more video

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

    10/10

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

    when are you going to release more?

    • @Codexpanse
      @Codexpanse  5 ปีที่แล้ว +2

      I plan to revive this channel in a few weeks.

  • @JD-kf2ki
    @JD-kf2ki 4 ปีที่แล้ว

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

    • @rakhimd.5703
      @rakhimd.5703 4 ปีที่แล้ว +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 4 ปีที่แล้ว

      @@rakhimd.5703 Thanks.

  • @MasterZiomekPL
    @MasterZiomekPL 5 ปีที่แล้ว

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