Hacker News new | ask | show | jobs
by Gigachad 1295 days ago
The rails creator DHH has indicated that rails would “absolutely not” be getting type support.
1 comments

That's absolutely the correct call for rails.
It's the main reason I see Rails not lasting another decade. All the Rails apps I have been working on become almost unmanageable after 6+ years because keeping things updated on an untyped system is borderline impossible to do safely.
There are solutions like sorbet[^1] and sorbet-rails[^2]. Have you tried them?

[^1]: https://sorbet.org/

[^2]: https://github.com/chanzuckerberg/sorbet-rails

Just because Rails is untyped doesn't mean you can add type definitions to your own code within a rails application.