4 ms·
I'm going through the same processes as the author, after about a decade of Ruby I'm writing Typescript, Go and type-hinted Python, and I don't think I want to
by adamors 1y ago
I'm going through the same processes as the author, after about a decade of Ruby I'm writing Typescript, Go and type-hinted Python, and I don't think I want to go back to the lack of namespaces/packages and the lack of typing.
And I've actually used Sorbet with Ruby for 2 years, but that seems like a really bad solution to this problem.
- Alifatisk 1y agoWhat do you think of rbs-inline?
- adamors 1y agoHaven't tried that, but I think adding this from tooling will always lead to friction: "smart comments" are annoying to write.
- Alifatisk 1y agoI understand your point and it's valid. I think RBS is an interesting attempt at typed Ruby while also keeping it backwards compatible. I do however believe that having it as an separate file is not the right solution, it adds more load to the developer and ruins the joy of Ruby RBS-inline is an interesting attempt at solving it!