Archive for the ‘functional-js’ Category

Functional JavaScript for Lazy Developers (Like Me)

Posted on: No Comments
One of the core concepts that has driven my quest for knowledge about programming techniques has always been my own laziness. After all, what attracted me to computers back when I first started playing with them was the notion that they could do things...

Filtering and Chaining in Functional JavaScript

Posted on: No Comments
One of the things I appreciate about JavaScript is its versatility. JavaScript gives you the opportunity to use object oriented programming, imperative programming, and even functional programming. And you can go back and forth among them depending on ...

Fun Functional Programming with the Choo Framework

Posted on: No Comments
Today we'll be exploring Choo by @yoshuawuyts — the little framework that could. It's a brand new framework to help you build single page apps that includes state management, unidirectional data flow, views and a router. With Choo you'll be writing ...

Function Composition: Building Blocks for Maintainable Code

Posted on: No Comments
One of the advantages of thinking about JavaScript in a functional way is the ability to build complex functionality using small, easy to understand individual functions. But sometimes that involves looking at a problem backwards instead of forwards in...

Function Composition: Building Blocks for Maintainable Code

Posted on: No Comments
One of the advantages of thinking about JavaScript in a functional way is the ability to build complex functionality using small, easy to understand individual functions. But sometimes that involves looking at a problem backwards instead of forwards in...

10 Lodash Features You Can Replace with ES6

[author_more] This article was peer reviewed by Mark Brown. Thanks to all of SitePoint's peer reviewers for making SitePoint content the best it can be! Lodash is the most depended on npm package right now, but if you're using ES6, you might not actual...

Immutable Data and Functional JavaScript with Mori

This article was peer reviewed by Craig Bilner and Adrian Sandu. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be! Functional programming and immutable data are a current focus for many JavaScript developers...

Using Map and Reduce in Functional JavaScript

Posted on: No Comments
This article was peer reviewed by Panayiotis Velisarakos, Tim Severien and Dan Prince. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be! With all the talk about workflows that support the amazing new feature...

Quick Tip: Stop Writing Loops and Start Thinking with Maps

Posted on: No Comments
This article was peer reviewed by Chris Perry, Marc Towler, Simon Codrington and Tim Evko. Thanks to all of SitePoint's peer reviewers for making SitePoint content the best it can be! There comes a time in the learning path for most programmers when th...

A Beginner’s Guide to Currying in Functional JavaScript

Posted on: No Comments
If you’ve come across the term currying before, but never knew what it meant, you can be forgiven for thinking of it as some exotic, spicy technique that you didn’t need to bother about. But currying is actually a very simple concept, and it addres...