rjourde

14 Flips | 3 Magazines | 1 Like | 1 Following | @rjourde | Keep up with rjourde on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “rjourde”

A year of designing at Facebook

And how it’s different than designing at a startup<p>One year ago today the Branch team became part of Facebook. While excited for our new chapter, I …

Functional Snippet #8: Wrapper Types

Sometimes you want to distinguish two types from each other. For example, if you have user accounts with credits on them, you could have a function …

Functional Snippet #7: Applicative Functors

In last week’s snippet we used a login function like this as an example:<p>Often you’ll have the situation that the strings you want to hand to the …

Functional Snippet #6: Currying

Turning a function that takes multiple arguments into a series of functions that each take one argument is called currying. For example, take this …

JavaScript

Functional Snippet #5: Reduce

One of the most popular functions among functional programmers is reduce (in other languages also sometimes known as fold). The reduce function …

Mathematics

Functional Snippet #4: Flattening and Mapping Arrays

In functional programming, map on arrays is a common operation. Surprisingly often, the result of map is an array of arrays that needs to be …

Functional Snippet #3: Functional Quicksort

The following variant of Quicksort will definitely not win any speed price. Most real implementations of Quicksort will use constant memory. This …

Functional Snippet #2: Function Composition

In functional programming, we often want to combine multiple small, independent functions into a new function. For example, let’s say we have a …

Programming

Functional Snippet #1: Decomposing Arrays

The following snippet decomposes an array into a tuple containing the first element, and the rest of the array. If the array is empty, it returns nil:<p>…

7 Rules for Creating Gorgeous UI (Part 1)

A non-artsy primer in digital aesthetics<p>Introduction<p>OK, first things first. This guide is not for everyone. Who is this guide for?<p><b>Developers</b> who want …

UI Design