Functional JavaScript Programming 1 - Pure Functions (WITH EXAMPLE)

Veröffentlicht am: 04 Januar 2017
auf dem Kanal: 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)


Auf dieser Seite können Sie das Online-Video Functional JavaScript Programming 1 - Pure Functions (WITH EXAMPLE) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Rocky DeRaze 04 Januar 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,406 Mal angesehen und es wurde von 6 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!