Functional JavaScript Programming 8 - Callbacks (WITH EXAMPLE)

Published: 12 January 2017
on channel: 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)


On this page of the site you can watch the video online Functional JavaScript Programming 8 - Callbacks (WITH EXAMPLE) with a duration of hours minute second in good quality, which was uploaded by the user Rocky DeRaze 12 January 2017, share the link with friends and acquaintances, this video has already been watched 152 times on youtube and it was liked by 1 viewers. Enjoy your viewing!