Memoization

This post comes from this tweet shared by David Rodrigues (if you don't follow him on Twitter you should): If you have a closure that needs some internal state to be used and modified between executions of the closure you can declare your state as part of the capture list,…

On being an Engineering Manager

In this post I will share what I learned throughout the last year (2017) as a engineering manager of 10 people and how it has impacted me, as a professional. A manager should act as a buffer for his/her team. New features, spec changes, requirements are a constant flow.…

MVC.

A lot has been said in the last years about MVC and its problems and how to tackle them.[1] Lately two posts (or series) in particular caught my attention: Much ado about iOS app Architecture. A Better MVC (Part1, Part2, Part3 and Part4) [1:1]. The problem with both…

RAS S1E4

Flatmap is one of those ubiquitous operators that, independently of your expertise level, will be present in your day-to-day work with ReactiveSwift. In this post I will talk about how we can leverage its strategies with an example. If you are not familiar with them: latest race merge concact concurrent[…

map versus flatMap

Note: The goal of this post is to give the reader an intuition about the usage of a map versus a flatMap, instead of playing around with return types of each operation, until you pick the one that suits. A recurring topic during our interview process is "what's the…

iOS demo project checklist ✅

Note 1: This post is not to hack your way through the interview process, but to avoid situations where you might put 10h of work, to just be rejected by a small mistake. Note 2: This checklist is not specific to babylon health. The goal is to enhance your chances…

RAS S1E2

A tale of composition 🌳 In my mind there are two ways of thinking about composition, when we have FRP or FP in the mix. The first one is often mentioned when compared to inheritance[1]: Composition over inheritance in object-oriented programming is the principle that classes should achieve polymorphic behaviour…