3 ms·
I believe Stripe and Shopify only use RBI in production since Stripe develops Sorbet [0] and Shopify develops Tapioca [1]. Both tools work exclusively with RBI
by thomasdziedzic 5y ago
I believe Stripe and Shopify only use RBI in production since Stripe develops Sorbet [0] and Shopify develops Tapioca [1]. Both tools work exclusively with RBI files instead of RBS files afaik. I haven't heard of anyone using RBS in production.
[0] - https://sorbet.org/ https://sorbet.org/
[1] - https://github.com/Shopify/tapioca https://github.com/Shopify/tapioca
- byw 5y agoI'm surprised there doesn't seem to be more interest in type-checking in the Rails community at large (maybe I'm wrong). TypeScript has been make-or-break when choosing a company I apply for.
- nitrogen 5y agoRuby's extremely rapid iteration cycle (e.g. by embedding pry for debugging and experimentation), good test coverage, and fast search tools like ripgrep and fzf alleviate a lot of the pain you might get from the lack of static types. There are also gems for schema validation that predate Ruby's type annotations and help with runtime type checking on data coming from the wire or disk.
- zem 5y agorails does a lot of metaprogramming, which makes static type checking much harder