Live data from Hacker News

Ruby 3.3 on Rails 1.0

nashby.github.io

21–30 of 76 posts

Re: Ruby 3.3 on Rails 1.0

#22
This whole blog post is essentially an advertisment for why statically typed languages can prevent such madness. I'm sorry -- it is not my intention to start another non-useful static/dynamic typing debate.

It seems crazy that when a new version of Ruby comes out, developers need to hunt for runtime errors (that may or may not trigger depending on the path the application took) to see what incompatibility needs to be fixed.

Take any decent statically typed language. When a new version of the language comes out, your code will not compile on constructs or functions that are no longer called or present or used the way they should.

Re: Ruby 3.3 on Rails 1.0

#23

This whole blog post is essentially an advertisment for why statically typed languages can prevent such madness. I'm sorry -- it is not my intention to start another non-useful static/dynamic typing debate. It seems crazy that when a new version of Ruby comes out, developers need to hunt for runtime errors (that may or may not trigger depending on the path the application took) to see what incompatibility needs to be…

Java is “statically typed” amd has the same issues during runtime with different JVM versions.

Re: Ruby 3.3 on Rails 1.0

#25

RoR was cool way back when, but these days I'm much happier using nodejs with a framework like Adonis

Ooof...I'm not honestly. I don't do Rails that much these days but when I do it's just crazy how productive I can be. I think it's still a great fit for a huge number of web applications.

If performance is very important there are better options like Rust or Go, but otherwise RoR is my go to. Pretty much everything you need is baked into the framework and it's still being actively developed. Some of the new stuff is pretty great like Turbo frames and streams.

I respect that you enjoy working in Nodejs but Nodejs frameworks are just so barebones in my experience. I haven't tried Adonis but I still remember when I was looking how to parse query params in Koa. The official docs said to use a third party lib or regex them yourself from the request string...like why would I even use a framework at that point?

Re: Ruby 3.3 on Rails 1.0

#26

This whole blog post is essentially an advertisment for why statically typed languages can prevent such madness. I'm sorry -- it is not my intention to start another non-useful static/dynamic typing debate. It seems crazy that when a new version of Ruby comes out, developers need to hunt for runtime errors (that may or may not trigger depending on the path the application took) to see what incompatibility needs to be…

[deleted]

Re: Ruby 3.3 on Rails 1.0

#27
post #23

This whole blog post is essentially an advertisment for why statically typed languages can prevent such madness. I'm sorry -- it is not my intention to start another non-useful static/dynamic typing debate. It seems crazy that when a new version of Ruby comes out, developers need to hunt for runtime errors (that may or may not trigger depending on the path the application took) to see what incompatibility needs to be…

Java is “statically typed” amd has the same issues during runtime with different JVM versions.

People try to run JVM versions across 10 years and face "small" issues with builtins. GP's point was mainly about missing interfaces, missing methods, typos etc.

Re: Ruby 3.3 on Rails 1.0

#28
post #24

RoR was cool way back when, but these days I'm much happier using nodejs with a framework like Adonis

I don't get people who voluntarily use JS outside a browser. I'd rather jump into a pit filled with rusty spikes.

That’s fair, but TypeScript coupled with modern JS dev tooling makes it actually a pretty palatable experience these days. Speaking as someone who used to want to jump into pits for JavaScript-related reasons.

Re: Ruby 3.3 on Rails 1.0

#29
post #27
post #23

Earlier quoted context omitted.

Java is “statically typed” amd has the same issues during runtime with different JVM versions.

People try to run JVM versions across 10 years and face "small" issues with builtins. GP's point was mainly about missing interfaces, missing methods, typos etc.

> People try to run JVM versions across 10 years and face "small" issues with builtins. GP's point was mainly about missing interfaces, missing methods, typos etc.

Indeed -- well put.

> Java is “statically typed” amd has the same issues during runtime with different JVM versions.

Nothing is ever perfect -- there can be some occational runtime incompatibilities when very old Java code is run on new VMs.

But the effort in moving between one Java version and another Java version that came out many years later is likely order of magnitudes less than if you did the same thing in Ruby. There is simply no comparison.

Re: Ruby 3.3 on Rails 1.0

#30

This whole blog post is essentially an advertisment for why statically typed languages can prevent such madness. I'm sorry -- it is not my intention to start another non-useful static/dynamic typing debate. It seems crazy that when a new version of Ruby comes out, developers need to hunt for runtime errors (that may or may not trigger depending on the path the application took) to see what incompatibility needs to be…

Heavy Ruby/Rails user here.

We basically run type checking on major hand-offs between modules using DrySchema/DryValidation, a gem that makes it easy to set that up.

Without doing this, the integrity of the codebase erodes with scale.

Post reply on HN