Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
We have developed a typesystem for Ruby at Stripe with a goal of helping developers understand code better, write code with more confidence, and detect+prevent significant classes of bugs. This talk shares experience of Stripe successfully adopting Sorbet in our codebase which had millions lines of code that were written before the typechecker had been conceived. The talk will describe: - the process used to add typing to existing code; - many tools developed to support this process; - impact of this type system on safety and productivity at Stripe. We also have some exciting announcements! The talk does not require any previous knowledge of types and should be accessible to a broad audience. RubyKaigi 2019 https://rubykaigi.org/2019/presentations/jez.html#apr19
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
The video titled "State of Sorbet: A Type Checker for Ruby" features speakers Paul Tarjan and Jake Zimmerman discussing the implementation and benefits of Sorbet, a type checker for Ruby, at Stripe. The presentation highlights how the team adopted this type system to improve code quality, developer productivity, and error detection across their extensive Ruby codebase. Key points discussed include: - **Context on Stripe**: An overview of Stripe’s growth and developer productivity metrics, emphasizing the importance of developer tools. - **Sorbet’s Development Process**: The initial phase involved building Sorbet from scratch and identifying classes of errors, focusing on uninitialized constant errors and undefined method errors. - **Error Detection Improvements**: Sorbet can catch uninitialized constant errors in 100% of files and undefined method errors in 80% of files, significantly speeding up the feedback process for developers. - **Enhancing Code Understanding**: By utilizing type annotations, 62% of methods now have clear signatures, helping developers understand method inputs and outputs more effectively. - **User Feedback**: Engineers shared how Sorbet enhanced their coding experience, citing increased confidence and efficiency in coding tasks. - **Editor Tooling**: The presentation covered the development of integrated editor tools that provide instant feedback, auto-completion, and navigation. - **Open Source Announcements**: Paul Tarjan announced the plans to open-source Sorbet, share documentation, and integrate type definitions with Ruby 3’s upcoming features. The session concluded with a call to action for collaboration in the community, expressing enthusiasm for Sorbet's future and the ongoing improvement of tools that enhance Ruby type-checking capabilities.
Suggest modifications
Cancel