Static Typing for Ruby - Shopify
Nov 19, 202011 min read
Opens shopify.engineeringWhat the post covers
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.




