3 ms·
I still bemoan the half-assed RBS type system in Ruby 3. I think Ruby actually had a cool chance to explore what inline type hints would look like in a very met
by graypegg 3y ago
I still bemoan the half-assed RBS type system in Ruby 3. I think Ruby actually had a cool chance to explore what inline type hints would look like in a very meta-programming-y environment. While RBS works, it's a hassle to keep updated, and I think adoption is just going to remain low forever sadly.
Sorbet [0] is close, just wish the syntax wasn't as verbose as it is.
Crystal Language [1] is even closer, I just wish it had better IDE support.
[0] https://sorbet.org/ https://sorbet.org/
[1] https://crystal-lang.org/ https://crystal-lang.org/
- berkes 3y agoI'm worried that the reluctance of the Ruby community to adopt some typing, might push it further into obscuration. For me, full time Rubyist for over a decade, it was enough to "jump ship" to Rust and TypeScript. It's one more reason to forego Ruby, I fear.