News for hackers. Stuff that matters.
Re:Ruby 4.0.0 Preview2 Released by honeycrispy on Tuesday November 18, 2025 @11:29AM (#45968413)
I was so disappointed in how RBS was executed it caused me to give up on Ruby and move onto something else. I haven't looked back.
Re:Ruby 4.0.0 Preview2 Released by rco8786 on Tuesday November 18, 2025 @11:32AM (#45968457)
I'm still a Ruby fan but I share your immense, nearly immeasurable disappointment on the implementation of RBS. It's as though someone was tasked to add types to Ruby but do it specifically in a way that would guarantee zero adoption.
Re:Ruby 4.0.0 Preview2 Released by dtech on Tuesday November 18, 2025 @02:09PM (#45970564)
Out of curiosity, why was RBS so poorly executed and adopted?
Re:Ruby 4.0.0 Preview2 Released by honeycrispy on Tuesday November 18, 2025 @10:41PM (#45975615)
They put them in separate designated .rbs files, so far out of the way that they might as well not be there at all.
Re:Ruby 4.0.0 Preview2 Released by multiplegeorges on Tuesday November 18, 2025 @09:02PM (#45975010)
You should look into rbs-inline. It's a huge DX improvement. The community spoke up and they are moving in the right direction now.