3 ms·
So what was/is the strategy at Shopify for typing - was the policy everything is going to eventually be typed? If so, I don't understand all the JIT/CRuby effor
by joelbluminator 5y ago
So what was/is the strategy at Shopify for typing - was the policy everything is going to eventually be typed? If so, I don't understand all the JIT/CRuby efforts Shopify is doing; they can just use this Sorbet compiler I guess.
- notpachet 5y agoI left Shopify late last year, so I don't know what the current internal stance is, nor do I speak for the company in any capacity. But before I left, the strategy was to begin making inroads into typedness by attacking the most important places first (which in our case was often the inter-component abstraction boundaries). Teams were encouraged to add Sorbet annotations to their intra-component code where appropriate but it was not a blanket requirement. Regarding JIT/CRuby/Sorbet compiler -- I don't think it's either/or. A company of Shopify's size can afford to fund work on multiple projects with overlapping goals.