Archive for the ‘functional programming’ Category

Functional Programming with Phunkie: Building a PHP JSON Parser

Posted on: No Comments
Phunkie is a library with functional structures for PHP. In this two-part tutorial, Phunkie’s creator Marcello Duarte, head of training at Inviqa, explains how to create Parser combinators using the functional library. This post first appeared on the...

Functional Programming with Phunkie: Funky Parser Combinators

Posted on: No Comments
Phunkie is a library with functional structures for PHP. In this tutorial, Phunkie creator Marcello Duarte, head of training at Inviqa, explains how to create Parser combinators using the functional library. This post first appeared on the Inviqa blog,...

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...

Why Elm? (And How To Get Started With It)

Posted on: No Comments
If any discussion of the biggest problems in web development, there is no doubt complexity comes up. Between the use of dozens of tools, dependencies, and complexities inherent in the languages themselves, complexity is part of the job. Modern web appl...

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...

Hands-on Functional Programming with Ramda.js

Posted on: No Comments
For me, one of the things that makes JavaScript so interesting is the functional aspect of the language. From the beginning, functions have been first-class citizens in the JavaScript world. This makes it possible to write elegant and expressive code t...

Transducers in PHP Made Easy

Posted on: No Comments
Have you heard of functional programming, high order functions, etc. before? Probably, right? However, when you hear “transducers”, do you know what those are? The Definition of Transducers We can’t define transducers without talking about reduc...