News for hackers. Stuff that matters.
Re:Overview Of Upcoming Rails 7.1 Features Part 1 by Alifatisk on Tuesday December 20, 2022 @11:46AM (#34068451)
I have to agree on this one, it feels like some people are in denial of type issues within the Ruby / Rails community.

I've been experimenting with Rbs, Sorbet & Contracts though, they have their potential.

Re:Overview Of Upcoming Rails 7.1 Features Part 1 by gosukiwi on Tuesday December 20, 2022 @12:32PM (#34069178)
To be fair most of typing problems in Rails can be solved by having contracts and an operation pattern, kind of like Trailblazer, although they went a little bit too far lol
Re:Overview Of Upcoming Rails 7.1 Features Part 1 by oleg_antonyan on Tuesday December 20, 2022 @12:48PM (#34069438)
The UX is terrible. Separate file for types is just inconvenient. I wish it was something like Python's optional typing
Re:Overview Of Upcoming Rails 7.1 Features Part 1 by Alifatisk on Tuesday December 20, 2022 @02:19PM (#34070969)
Optional typing in Ruby would be so awesome