Sorbet is backed by Stripe.
Why is it important to be a separate layer that compiles to plain untyped Ruby?
Why is it important to be a separate layer that compiles to plain untyped Ruby?
Same reason Typescript was made and we didn’t add types to JavaScript.
And RBS is officially part of Ruby…
Type annotations in the language as syntax. Static type checker with an emphasis on inference. Compiles into Ruby so that it integrates with the entire existing Ruby ecosystem, so unlike Crystal as well.
Those are the general features you need/want and why TS caught on and none of the existing solutions hit the mark.
Sorbet is a bit different from TypeScript because it has runtime type checking, not just static.