How types make hard problems easy
Over the last couple years, my programming brain has become increasingly warped around types, functional programming principles & Typescript. Most of it is influenced by the inordinate amount of time I’ve spent working on the Heartbeat codebase, a 300k+ line Typescript full-stack application that includes a React web app, a React Native mobile app and a Node.js server. My experience in this codebase has shown me that the more I lean into relying on the type system, the more I benefit.
Writing co...
Read more at mayhul.com