-
Higher-order functions – Part 1 of Functional Programming in JavaScript
💖 Support the show by becoming a Patreon https://www.patreon.com/funfunfunction In this video series, I will teach you how to do functional programming in JavaScript. In this first one, I will tell you about one of the most important concepts in functional programming: Higher-order functions. I will talk about what higher order-functions are, and then move…
-
Talk functional javascript!
In this Meetup talk, we went over currying and function composition in javascript. Slides: Functional Javascript, CVjs from kaw2 Demo Code: https://gist.github.com/kaw2k/6312261 JSBin Playground: Reference Talk: This talk happened at CVjs @ Private Practice Inc. on Wednesday September 18th, 2013 http://www.meetup.com/Central-Virginia-Javascript-Enthusiasts-CVJSE/events/132911552/ Original source
-
Map – Part 2 of Functional Programming in JavaScript
In this video series, we learn how to do functional programming in JavaScript. In this second one, I show you how and when to use the higher-order function map, and why it is the best thing ever. Resources: Code from the video https://gist.github.com/mpj/c5ae804e576042b3287d How to install and use io.js (for the arrow functions example) ES6…
-
Promises – Part 8 of Functional Programming in JavaScript
Promises are, just like callbacks, a way of dealing with things being asynchronous – when we don’t know for certain in what order things will happen. But promises are more powerful than callbacks because they compose – you can combine promises and chain them, all kinds of cool stuff – I’ve showed you some in…
-
Recursion – Part 7 of Functional Programming in JavaScript
In this video, we are going to learn about recursion – what recursion is, how it works, and why it’s useful. This video is part of a series – you’ll get a lot more out of it if you watch the other episodes before watching this one. You can find them here: Recursion is when…
-
Closures – Part 5 of Functional Programming in JavaScript
A short video explaining the concept of closures, using JavaScript. This is part of a series, where are learning functional programming using JavaScript. Mozilla JavaScript documentation on Clousures https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures Code from the episode https://gist.github.com/mpj/b56371c672122a098d52 Playlist of full series You want to follow me on Twitter and Quora: Tweets by mpjme http://www.quora.com/Mattias-Petter-Johansson Original source
-
Currying – Part 6 of Functional Programming in JavaScript
A short video explaining the concept of curring, using JavaScript. This is part of a series, where are learning functional programming using JavaScript. Currying is when a function, instead of taking all arguments at one time, takes the first one and returns a new function that takes the second one and returns a new function…