Myvideo

Guest

Login

Learn Pure Functions In 10 Minutes

Uploaded By: Myvideo
1 view
0
0 votes
0

Functional programming is constantly on the rise, and with functional programming comes pure functions. Pure functions are the base of what functional programming is built upon, but they are useful even outside of functional programming. The idea of a pure function is a function that when given the same inputs always returns the same output. This function also must have absolutely no side effects and rely on no other state besides the input variables. It essentially works exactly the same as a math function. 2 2 always equals 4 no matter how many times you execute the function. 2 2 also never effects anything else outside it. For example 2 2 never causes 3 to change to 7 or some other side effect. In this video I will be covering pure functions in depth by example. We will take an i ... #WebDevSimplified #webdevsimplified #pure_function #pure_functions #pure_function_js #pure_function_javascript #functional_programming #pure_function_programming #pure_function_tutorial #pure_function_explained 20190817 fYbhD_KMCOg

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later