News for hackers. Stuff that matters.
Re:Web apps built with Ruby on Rails by xyzzy4747 on Friday January 10, 2025 @11:39AM (#42657209)
I don't know why anyone would want to code with a language that isn't statically type safe at compile time in this day and age.
Re:Web apps built with Ruby on Rails by aaronbrethorst on Friday January 10, 2025 @12:01PM (#42657447)
Might be worth spending 30 minutes watching a video of what you can build with Rails in that amount of time instead of smugly dismissing it.

There’s a great example on the home page here: https://rubyonrails.org/

Re:Web apps built with Ruby on Rails by xyzzy4747 on Friday January 10, 2025 @12:02PM (#42657465)
I've used it before, but Next.js with TypeScript is much superior in many different ways.
Re:Web apps built with Ruby on Rails by clivestaples on Saturday January 11, 2025 @01:28AM (#42663770)
Honest question: Where do you deploy? What do you use for queues? Database? It's impossible to beat React for component libraries but, lemme tell you, I've struggled to be productive with Next when compared to Rails.
Re:Web apps built with Ruby on Rails by kstrauser on Friday January 10, 2025 @11:46AM (#42657285)
I don't know if I'd admit that publicly, without first reading about it and trying to understand why things like RoR and Python have huge, loyal user bases.
Re:Web apps built with Ruby on Rails by osbre on Friday January 10, 2025 @12:01PM (#42657453)
That is why I use Laravel btw
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.