Re:Ask HN: Is Ruby/RoR Dead?
by sibeliuss on Sunday September 29, 2024 @01:50PM
(#41689023)
Its still around, but declining. I sure wish it had types.
[ Parent
| on HN ]
Sorbet / RBS?
Just doesn't cut it... Give me python 3 style typing at the least. Nobody wants external file decorators.
I'd love to have Python3 style typings in Ruby, but I think they refused the idea because backwards compatibility?
I think the closest gem that achieves this is contracts. https://github.com/egonSchiele/contracts.ruby?tab=readme-ov-...
Sorbet can be used inline without external file decorators already and RBS is adding support too[2].
I would not be surprised if that typing information starts finding its way into YJIT for performance improvements.