Y
Hacker News
new
|
ask
|
show
|
jobs
by
Alifatisk
1272 days ago
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.
2 comments
oleg_antonyan
1272 days ago
The UX is terrible. Separate file for types is just inconvenient. I wish it was something like Python's optional typing
link
Alifatisk
1272 days ago
Optional typing in Ruby would be so awesome
link
gosukiwi
1272 days ago
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
link