News for hackers. Stuff that matters.
Re:Web apps built with Ruby on Rails by Alifatisk on Friday January 10, 2025 @11:47AM (#42657293)
Doesn’t tools like Sorbet and RBS help?
Re:Web apps built with Ruby on Rails by xyzzy4747 on Friday January 10, 2025 @11:53AM (#42657365)
Why use a 3rd party add-on solution instead of using something better in the first place?
Re:Web apps built with Ruby on Rails by ricketycricket on Friday January 10, 2025 @12:16PM (#42657598)
You mean like Typescript, an add-on that transpiles to Javascript?
Re:Web apps built with Ruby on Rails by askonomm on Friday January 10, 2025 @03:20PM (#42659673)
I'm sure they meant an actual statically typed language. I agree that dynamic languages are fun and productive ... until the codebase becomes big and complex, and then not knowing what shape any data is quickly becomes a nightmare to understand and debug.
Re:Web apps built with Ruby on Rails by Alifatisk on Saturday January 11, 2025 @06:05AM (#42665040)
> not knowing what shape any data is quickly becomes a nightmare to understand and debug

I remember when I experienced exactly this, it kind of flipped switch in my head which made me love static typing.

Re:Web apps built with Ruby on Rails by Alifatisk on Friday January 10, 2025 @05:17PM (#42660898)
RBS comes by default with Ruby, Sorbet is 3rd party.