
Ben is a Software Engineer at Stripe working on the JavaScript Infrastructure team. In his free time he loves to play hide’n’seek with his dog Kylo and play board games with his wife.
Ben's Talk
Migrating millions of lines of code to TypeScript (with no downtime)
Stripe has many large JavaScript code bases such as Stripe.js, the Dashboard and many internal services. In 2016, Stripe decided to adopt the Flow type system for JavaScript to maintain high productivity while reducing run-time errors. Flow served Stripe well for many years but as we scaled, we realized that TypeScript was a better fit for our performance and tooling needs. The JavaScript Infrastructure team was tasked with figuring out how to migrate all 10 million lines of Flow code to TypeScript. In this talk, I will detail our decision-making process around the migration, the migration process itself, and how the skills we learned along the way may be able to help you the next time you need to switch programming languages.
Catch Ben's talk at Modern Frontends Live!