3 ms·
I agree that Ruby needs real type annotations, especially for correctness as well as for eventual performance optimization. I was sad to see Ruby 3 drop the bal
by ezekg 4y ago
I agree that Ruby needs real type annotations, especially for correctness as well as for eventual performance optimization. I was sad to see Ruby 3 drop the ball here as well. RBS is not what Ruby needed, and I hope it can be replaced with real type annotations in Ruby 4.
- jjgreen 4y agoWhat don't you like about RBS? I've been retro-annoting a couple of small projects, seems quite reasonable (but tooling is immature, documentation thin on the ground).
- ezekg 4y agoThe fact that I have to keep types defined and synchronized in a separate file. I write Ruby for a higher velocity, and that lowers my velocity during development. It also has no performance impact because the types mean nothing at runtime, so it's a net waste of my time.