Elm Result Pipeline

One of the best features of pure functional programming languages like Elm is their ability to handle and deal with uncertainty. The absence of null and exceptions forces developers to state explicitely what should happen when expectations aren’t met, which combined with a good compiler and a strong static type system makes the code super descriptive and rock solid.

More …

En vrac manageurial™

Un peu marre de Twitter, de ses querelles éphémères, de la négativité ambiante et du bruit blanc que ça génère depuis quelques mois, j’ai pris la décision de faire reprendre du service à mon agrégateur RSS afin de diversifier mes sources d’information quotidiennes.

More …

Stateful components in Elm

It’s often claimed that Elm developers should avoid thinking their views as stateful components. While this is indeed a general best design practice, sometimes you may want to make your views reusable (eg. across pages or projects), and if they come with a state… you end up copying and pasting a lot of things.

More …

Chaining HTTP requests in Elm

Sometimes in Elm you struggle with the most basic things. Especially when you come from a JavaScript background, where chaining HTTP requests are relatively easy thanks to Promises or async/await. More …

Reduce and the Ferris wheel metaphor

I recently had to introduce some Elm concepts to a coworker who had some experience with React and Redux. One of these concepts was List.foldl, a reduction function which exists in many languages, specifically as Array#reduce in JavaScript. More …

From OSX to Ubuntu

A year earlier I decided to switch from OSX to Ubuntu, so now is a good time to make a little retrospective. TL;DR: Linux now offers a pleasant desktop user experience and there’s no way back for me.

More …