Skip to content
Shopify

Static Typing for Ruby - Shopify

Nov 19, 202011 min read
Opens shopify.engineering
What the post coversAI, from the source post

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 full post on shopify.engineering · 11 min (opens in a new tab)

More from the Development Methodologies and Practices trail