Functional JavaScript Programming 8 - Callbacks (WITH EXAMPLE)

Publié le: 12 janvier 2017
sur la chaîne: Rocky DeRaze
152
1

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

What are Callback 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 the Callback Functions. What is it? Find out in the video.

CALLBACKS
==========

1. Callbacks are functions that are passed to other functions. Logic is passed in this way.
2. Used a lot in functional programming, this is where anonymous functions are highly implemented
3. Because functions are first-class objects, we can pass a function as an argument in another function and later execute that passed-in function or even return it to be executed later.
4. The most widely used functional programming technqiue in JS
5. Derived from the functional programming paradigm
6. Callback functions are passed as parameters, the function is called inside another function, where it executes
7. Multiple callback functions are allowed to be passed, as parameters in one function
8. Do not repeat code (DRY - do not repeat yourself)
9. Have better maintainability
10. Have more readable code
11. Have more specialized functions
12. Implement better abstraction - show only the essential features

Code File - https://jsfiddle.net/rockyderaze/tyx7...
JSFiddle - https://jsfiddle.net/

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Functional JavaScript Programming 8 - Callbacks (WITH EXAMPLE) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Rocky DeRaze 12 janvier 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 152 fois et il a aimé 1 téléspectateurs. Bon visionnage!