Iffy Literals

Today a colleague noticed that he was using a IIFE where a simple object literal might do, and he asked my opinion. The code looked something like this:

var codeWords = (function() {
    var list = ['ABC', 'DEF', /* ... */ 'XYZ'];
    var found = function(test) {
        return list.indexOf(test) > -1;
    };

    return {
        list: list,
        found

Favoring Curry

My recent article on functional composition in Ramda breezed over an important topic. In order to do the sort of composition we would like with Ramda functions, we need these functions to be curried.

Curry? Like the spicy food? What? Where?

Actually, curry is named for Haskell Curry, who was

Why Ramda?

When buzzdecafe recently introduced Ramda to the world, there were two distinct groups of responses. Those accustomed to functional techniques -- in Javascript or in other languages -- mostly responded with, "Cool". They may have been excited by it or just casually noting another potential tool, but they understood what