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/
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!
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. 👍
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.
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.
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.
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.
Amazing explanation, this is the best explanation I ever seen about Pure Function. I'm illuminated!
Wtf, I just found this channel, the explanations are just incredible, i'm terribly sad they have stopped tbh
bra this is some really original shit. really good content
Aaaw, thanks! Super glad you liked it.
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!
this video deserves more views.... and this channel deserves more subscribers
Thank you kindly! :-)
you do the best videos to explain javascript, thaink you!
kudos for the effort, flowless delivery
Very useful! The way of explaining was so clear .How you relate and give the overall picture was awesome!
Very glad you liked it, thanks!
This is freaking AWESOME ✨🔥🚀! Please keep updating, thank you!
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. 👍
I love how he does the irl box functions
wow very good visual explanation, difficult to forget !, thanks
this is some next-level video, just wow!
I really enjoyed this series. Hope you will continue. I am going to watch it again 😀
we should invent a term of PURE TUTORIAL.. I'm surprised why you stop producing this type of AMAZING work !!
plus the notes on your lessons are really useful
Excellent explanation.
Very good content.
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.
Amazing explanation! Thank you!
wow, awesome explanation
Thanks! Really interesting and easy to understand
And I bet u.. I was destined to watch this video today. :D
Great job. Thank you.
Really love these videos. Hope you’ll make more!
Hope so too :) Thanks!
@@Codexpanse Please make more. Learning lots of stuff from your videos.
Thank you :)
You guys rock! A video about JS Prototype would be great =)
great explaining, thx for ur time
Very good expansion!!!!!
love this video ! Thank you !
Thanks!
make more videos about JS.. love your explanation
today i really understand what are sideeffect, purefunction and deterministic.
Awesome video !!!!
Thanks!
the video is as fancy as the word of 'consequence'!
Nice explanation
thank for sharing
you re genius
great video! some code will provide more practical eg
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.
Will not stop! I had a loooong break, but I'm getting back to producing new videos soon!
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.
10/10
why did you stop? that's fantastic :)
I've achieved zen after watching this video
when are you going to release more?
I plan to revive this channel in a few weeks.
Why not more video ,,, Looking for more video
So, the non-deterministic functions are also known as "higher-order functions"???
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.
@@rakhimd.5703 Thanks.
Not a single example in the whole video and I still have no Idea what a pure function is. Apparently it's just better