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