Development Methodologies and Practices
Static Typing for Ruby - Shopify

Static Typing for Ruby - Shopify

11/19/2020

What this post added

This post details the adoption of Sorbet for static typing in Ruby at Shopify. It outlines the three key requirements for a typing solution (gradual typing, speed, full Ruby support) and explains why Sorbet was chosen. The post describes the process of treating static typing as a product, including testing viability, creating RBI files, and tracking adoption using SorbetMetrics. It also covers the evolution of developer support and the use of surveys and interviews to measure developer happiness. The current state of Sorbet adoption in the monolith is presented.

Read the original post ↗