4 ms·
Sorbet: Gradual typing of Ruby at Scale
- vinceguidry 8y agoI love the idea of gradual Ruby typing but I think I'm going to wait until Matz follows through with his promise to bake it into the language. But if I were working in a shop that was considering moving off Ruby and this would convince them to stay on it, I'd very happily adopt it.
- shaneos 8y agoMatz has stated that it’s unlikely to happen for years (2040 was mooted recently). So, your strategy is more likely to leave you with a less scalable and more buggy code base for years to come. Sorbet is compatible with existing Ruby, requires no syntax changes and can be transpiled into whatever official typing support comes into existence many years from now. Give it a try, it’s good for you :-)
- zizee 8y ago> Give it a try, it’s good for you :-) Can we actually try this though? 2019 appears to be the planned open source date.
- labria 8y agoThey've shown this quite some time ago, but it still didn't go further than the cute online demo, unfortunately. Really hope they release something tangible to play with.
- guu 8y agoThe StrangeLoop video is not posted yet, but you can see a related video from RubyKaigi here: https://www.youtube.com/watch?v=eCnnBS2LXcI https://www.youtube.com/watch?v=eCnnBS2LXcI
- stanislavb 8y agoIf you didn't go through the presentation, the plan is to release Sorbet as an open-source product in 2019.
- chrisseaton 8y agoI don't think anything in the presentation suggests they're making this a product does it?
- stanislavb 8y agoThe shared timeline? What do you define as a product, btw. Is "rubocop" a product? - I'd say, yes. I'm sorry if I've confused you.
- chrisseaton 8y agoI thought 'product' meant something commercial - something with an income. I'd say Rubocop was a project but not a product.
- stmw 8y agoThis is interesting work, of course, and highly valuable ot existing Ruby codebases & organizations. But I do wonder if the interest in this among current Ruby shops suggests to anyone that choosing a different language/runtime for new development is best?
- jmarinez 8y agoInteresting
- sahin-boydas 8y agodupe: https://news.ycombinator.com/item?id=18104663 https://news.ycombinator.com/item?id=18104663