# Static Typing for Ruby

DevFeed: [Static Typing for Ruby](<https://devfeed.tech/articles/static-typing-for-ruby-1629.md>)

Original publisher: [Read original article](<https://shopify.engineering/static-typing-ruby>)

Author: Alexandre Terrasa

Published: 2020-11-19T17:08:36Z

Content type: article

Language: en

Sources: [Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering.md>), [Shopify Engineering - Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering-shopify-engineering.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [Shopify](<https://devfeed.tech/topics/shopify.md>), [Rails](<https://devfeed.tech/topics/rails.md>), [ci](<https://devfeed.tech/topics/ci.md>)

Tags: [ci](<https://devfeed.tech/tags/ci.md>), [code](<https://devfeed.tech/tags/code.md>), [developer](<https://devfeed.tech/tags/developer.md>), [developers](<https://devfeed.tech/tags/developers.md>), [development](<https://devfeed.tech/tags/development.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [shopify](<https://devfeed.tech/tags/shopify.md>), [speed](<https://devfeed.tech/tags/speed.md>)

## AI overview

Shopify describes its adoption of static typing for a large Ruby monolith. The article explains the Ruby Infrastructure team's requirements for a typing solution: gradual typing, speed, full Ruby and Rails support, and compatibility with features such as metaprogramming, overloading, and class reopening.

## Source excerpt

A look at how Shopify adopted static typing in it's core Ruby monolith by treating type checking like a product.