Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
RubyConf 2019 - Sorbet: A type checker for Ruby 3 you can use today! by Jake Zimmerman & Dmitry Petrashko In June we open-sourced Sorbet, a fast, powerful type checker designed for Ruby. In the 6 months since, tons of things have improved! We’ve built quality editor tools like jump-to-def and seen many contributions from a growing community. Within Stripe, we've used Sorbet to drive code quality via measurable, concrete indicators. We’ll share these improvements and give an update on our collaboration with Matz and the Ruby 3 Types working group. Suitable for anyone using Ruby—no familiarity with Sorbet needed! Come follow in the footsteps of the many companies already using Sorbet. #confreaks #rubyconf2019
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 presented by Jake Zimmerman and Dmitry Petrashko at RubyConf 2019 focuses on Sorbet, a fast and powerful type checker designed for Ruby 3. Initially open-sourced in June 2019, Sorbet addresses significant productivity challenges faced by Ruby developers, especially those at Stripe, where it was originally developed. **Key Points Discussed:** - **Background and Creation:** Sorbet was initiated to tackle issues resulting from a complex and fragile codebase, where developers struggled with slow feedback on code correctness and understanding unfamiliar code. - **Developer Productivity Challenges:** Common feedback indicated that developers were spending too long grasping unfamiliar code and receiving feedback on changes. The existing manual processes failed to keep up with the volume of changes being made. - **Type Checkers as Solutions:** Instead of ignoring developer feedback or attempting risky rewrites, Stripe decided to create a type checker. Sorbet was developed incrementally, enabling teams to make ongoing improvements. - **Early Development and Implementation:** Sorbet's initial development involved testing real production code. By June 2018, all engineers at Stripe were required to use Sorbet, leading to fast user adaptation and positive feedback. - **Functionality and Benefits:** Sorbet enhances clarity through type annotations, allowing developers to hover over method names for instant type and documentation insights. This real-time feedback helps simplify the comprehension of complex code. It accelerates the iteration cycle, making code easier to understand, provides fast feedback, and fosters better coding practices. - **Community and Growth:** Since being open-sourced, Sorbet has seen widespread adoption among companies such as Shopify and Coinbase, contributing significantly to its development. Over 800 pull requests have been made by a growing community, leading to refinements and new features. - **Future Development:** The team aims to enhance Sorbet's editor tools, automate refactoring, and maintain performance as it scales within larger codebases. Upcoming presentations will highlight how different organizations apply Sorbet, and further collaboration with the Ruby community continues to evolve the Ruby type system. **Conclusions:** Sorbet significantly eases the development process for Ruby programmers by providing tools that enhance code clarity and safety. The collaborative effort behind Sorbet is vital for its sustained improvement and integration into the Ruby ecosystem. Developers from different backgrounds are encouraged to explore Sorbet and contribute their feedback to shape its future improvements.
Suggest modifications
Cancel