Y
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
gregors
1295 days ago
That's absolutely the correct call for rails.
link
Gigachad
1294 days ago
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.
link
atmosx
1294 days ago
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
link
chris12321
1293 days ago
Just because Rails is untyped doesn't mean you can add type definitions to your own code within a rails application.
link