Pure Functions / Intro to JavaScript ES6 programming, lesson 17

preview_player
Показать описание
Explore the idea of determinism, side effects, and purity in functions. Get to know the beauty of pure functions.

Рекомендации по теме
Комментарии
Автор

bra this is some really original shit. really good content

JackCkiller
Автор

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

lostofis
Автор

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

ssj
Автор

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

JayRGabz
Автор

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!

cyberlord
Автор

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

faizahmadfaiz
Автор

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

LeeDazler
Автор

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

ibknl
Автор

kudos for the effort, flowless delivery

fadyahjoudah
Автор

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

hh
Автор

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

EastSun
Автор

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

kalsho
Автор

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.

aashishsapkota
Автор

I love how he does the irl box functions

raconvid
Автор

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

CyrusPieris
Автор

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

dawid_dahl
Автор

plus the notes on your lessons are really useful

JackCkiller
Автор

this is some next-level video, just wow!

dEsTiNyHaCkEr
Автор

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

ishwarrimal
Автор

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.

AhmedIsam