Software Dev

From Four Wheels to Two โ€“ Lyft Engineering

This is Lyft’s approach for adding a major new feature to their app. ->

I heard about this on the iOS Dev Discussions podcast.


  • Stay simple and lean
  • Reimagine over reinventing – “โ€œIs it faster to rebuild this or reuse this, and what will we regret later?โ€”
  • Launch what matters

Feature flags, feature modules, launching early and iterating small, facing questions they didnโ€™t have answers to until they did some real world experimenting and iterating.

Love this…

Every new feature is a chance to start with a clean slate, and itโ€™s often tempting to immediately build for scale. We all want our products to launch to massive fanfare and usage, but more often than not, the path to success for new features is slow and steady. With steady growth in mind, we designed our first architecture to support exactly whatโ€™s needed for our first product iteration, and nothing more


The computer scientist in me was angry, but when the datasets are small enough, reasonable tradeoffs can be made in the short term without sacrificing the user experience. When choosing the โ€œrewriteโ€ approach, itโ€™s important to be confident that the code will stay simple and easily explainable. In this case, the algorithm wasnโ€™t perfect, but it worked reliably and quickly.

Software Dev

Building reliable apps on unreliable networks โ€“ Superhuman

This post describes how we detect and communicate network status as part of making Superhuman the fastest and most reliable email experience in the world. Our previous post described an offlineโ€ฆ
โ€” Read on


In this case, they detect online/offline state in a web browser mostly for the purpose of communicating that state to the user so they can tell what is going on.

The web app keeps track of network state. If a network request times out, the state is set to offline. Then it polls every 10 seconds to see when the network comes back online.

This approach seems alright for a webapp, but in a mobile app I think we’d avoid polio every 10 seconds to see if the app is online. Perhaps poll on the next natural network request instead, or trigger on events such as view-will-appear or return-to-foreground.

Software Dev

How to Design Offline-first Approach in a Mobile App – net guru

Nowadays, almost everyone has access to either wireless network or the mobile network. Does it mean that we shouldn’t be concerned with the availability of network when making mobile apps?
โ€” Read on

Great overview of building an app that works offline first as a means to a great user experience.

The offline-first approach is not the universal solution to every problem you will experience with unreliable network connectivity โ€“ it heavily depends on your appโ€™s requirements. It’s more like a design approach that lets you focus on what really matters to your end user: a robust app with a great user experience.