Types in Ruby 3, RBS, and Sorbet · Sorbet

Yesterday Square posted an article to their blog introducing RBS (Ruby Signature), a type syntax format for Ruby 3.We’d like to take a second to speak to how RBS relates to Sorbet. The short version: Sorbet will happily incorporate RBS as a way to specify type annotations, in addition to the existing syntax Sorbet supports. Stripe still has a very strong commitment to Sorbet’s continued progress and success. While the Ruby core team has been working on syntax, we’ve been working on features that build on top of that syntax.With that in mind, I’d love to start a discussion of some of the finer points of what this announcement means for Ruby, and for Sorbet.
Types in Ruby 3, RBS, and Sorbet · Sorbet #ruby #rubydeveloper #rubyonrails #types https://rubyonrails.ba/single/types-in-ruby-3-rbs-and-sorbet-sorbet

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles