Functional JavaScript Programming 1 - Pure Functions (WITH EXAMPLE)

Pubblicato il: 04 gennaio 2017
sul canale di: Rocky DeRaze
1,406
6

Best book for Functional Programming in JS - https://www.amazon.com/Functional-Pro...

How to write Pure Functions in JavaScript?
How to get started in Functional Programming on JavaScript?

In this video tutorial, I talk about the basics of Functional Programming by bringing in Pure Functions right away. What are Pure Functions? Find out in this video.

PURE FUNCTIONS:
===============

1. No side effects
2. Same output for same input
3. Highly independent
4. Reusable again and again = building blocks of code
5. Outside variables and global states are not used
6. Immutability - Must not mutate the variables passed to it
7. No reliance on state or environment = Lets us run anywhere
8. True interpretation of mathematical term 'function'
9. Independency = Parallel Processing = Research applications

Code File - https://jsfiddle.net/rockyderaze/83sr...
JSFiddle - https://jsfiddle.net/

Pure Functions in Functional JavaScript Programming by Rocky DeRaze (WITH EXAMPLE)


In questa pagina del sito puoi guardare il video online Functional JavaScript Programming 1 - Pure Functions (WITH EXAMPLE) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Rocky DeRaze 04 gennaio 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,406 volte e gli è piaciuto 6 spettatori. Buona visione!