Overview
Explore the static type ecosystem in Ruby, focusing on the two main type checkers: Sorbet and RBS. Learn about Sorbet, created by Stripe, as an annotation-based type checking system, and RBS, supported by Ruby, as a definition file-based type system. Compare the differences between these two systems by adding type annotations for a popular gem using both Sorbet and RBS. Discover the interoperability between Sorbet and RBS, and investigate the practical possibility of converting a Sorbet-annotated project to RBS. Gain insights into the advantages and challenges of static typing in Ruby through this informative 22-minute conference talk from RubyConf 2022.
Syllabus
RubyConf 2022: Static typing with RBS in Ruby by Gaurav Kumar Singh
Taught by
Confreaks