PromiseKit and `ensure`

Intro The essence of functional programming is to express computation in small, self contained units (functions) that we can combine together to get the result. If »

Logging errors in Swift

Error reporting and handling is tricky. In C, it's done by returning and examining error codes, which is very error prone since it's easy to forget »