Learning Functional Programming with JavaScript

Publié le: 02 juillet 2021
sur la chaîne: Coders Field
62
5

Functional programming has been gaining a lot of popularity in the JS community, and with good reason: rejecting side-effects and mutability - in-place changes to data - helps avoid a lot of headaches. But when you refuse to mutate objects, you have to create a whole new object each time something changes, which can slow things down and eat up memory, making functional programming seem inefficient.

That’s where immutable data structures come in - to save the day, and time and space! Also called “persistent data structures”, they help you efficiently make new “modified” versions of immutable objects, by reusing parts of the old object that you don’t need to change.

In this talk we’ll take a look at how these data structures work, why they’re fantastic for functional programming, and how we can easily use them in our JS code thanks to libraries like Mori and Immutable.js.

Credit: JSUnconf
slides: https://slidr.io/vakila/learning-func...
Share, Support, Subscribe!!!
E-mail: codersfield@gmail.com
Twitter:   / codersfield  
Facebook:   / codersfield7  


About: Coders Field is a YouTube Channel, where you will find Information Technology related videos, New Video is Posted Everyday Sunday :)


Sur cette page du site, vous pouvez voir la vidéo en ligne Learning Functional Programming with JavaScript durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Coders Field 02 juillet 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 62 fois et il a aimé 5 téléspectateurs. Bon visionnage!