Indexing objects in TypeScript

This is a topic that comes up every now and again, so I figured it’d be useful to write a post about it.
Imagine you have code like this:
// an object defining how to display specific user statuses in the UI
const statusDisplays = {
online: ‘…

via Reme Le Hane


Snapchat Filters: How Do They Work?

About five times a day, I, along with 180 million daily users, open Snapchat to share small moments of my life with family and friends. (Truth be told, I almost always send videos of my dogs.)
A few times a week, I browse through Snapchat’s lens…

via Reme Le Hane