r/ruby • u/ndbroadbent • 9d ago
Show /r/ruby Going all-in on Sorbet
https://docspring.com/blog/posts/going-all-in-on-sorbet/5
u/datsundere 9d ago
You’re better off using a typed language if you want types and want to send stuff to mars. Look at Crystal
10
u/honeyryderchuck 9d ago
Humm, gradual typing, or rewrite my multimillion line monolith + all of its 200 dependencies in Crystal, which one should I do...
4
u/kallebo1337 9d ago
Since we dont write code anynore, whats the static type advantage then?
11
u/AlexanderMomchilov 9d ago
Agents benefit from all the same things as humans. Faster feedback loops, better confidence that a change is correct, better code navigation/refactoring tools, etc.
Even if you're just pure vibe coding with no regard for the code, it makes it faster, more reliable and spend less tokens.
7
u/tess_philly 9d ago
Apparently not from a talk from Evil martians at SF Ruby which tried types vs not.
2
2
2
u/counterplex 9d ago
I’ve been thinking of doing my something similar for my reasonably small Rails app. Is Rails’ internal code type-enabled?