Hacker News new | ask | show | jobs
by adamors 300 days 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.

1 comments

What do you think of rbs-inline?
Haven't tried that, but I think adding this from tooling will always lead to friction: "smart comments" are annoying to write.
I 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!