Your business needs you to generate an automated email report containing data from your app. In this example we will use the SendGrid web API to email a .csv file.

Clojure: juxt and separate

Juxt is one of those higher-order functions that you never knew you needed. Despite not using it that often I find it can still be surprisingly useful. Let's check out the docs.

Desert island code: compose and pipe

You awake a castaway on a desert island. After some time you come across an ancient computation device, the programming of which might hold your salvation!

Desert island code: curry

You awake a castaway on a desert island. After some time you come across an ancient computation device, the programming of which might hold your salvation!

Desert island code: reduce map and filter

You awake a castaway on a desert island. After some time you come across an ancient computation device. The programming of which might hold your salvation!

Managing obfuscation with annotations

Obfuscation is when you deliberately make source code difficult to read. Often code is obfuscated to conceal its purpose and deter reverse engineering. Most obfuscation tools do this by replacing class, method and field names with gibberish.