Inline RBS comments support for Sorbet | Rails at Scale

02-May-2025 14
Sorbet is a type checking tool for Ruby that enables developers to gradually add static type annotations, improving code stability and reliability by catching errors early and facilitating refactoring. It also includes a language server, enhancing the development experience with features like code navigation and error diagnostics. At Shopify, Sorbet has been instrumental in improving the readability and maintainability of our large codebase. Currently, Sorbet checks 99% of our 75,000 files, with type signatures on 71% of our 1.5 million methods, covering 61% of all method call sites. This extensive use boosts type safety and clarity while significantly reducing errors in production.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle