Re:Ask HN: Is Ruby on Rails still relevant?
by likortera on Thursday April 28, 2022 @01:20PM
(#31195276)
Well, the usual "reasoning" is that Go is easier to maintain, faster, will require less hardware, etc... all of those things might be true. What is not told in is the other side of the story, the one where you will have to write, test, document and maintain a TON more code... which usually ends up in just overall lower quality as it is pretty hard to find developers writing better code than the code you usually find in popular full stack frameworks.
But managers/directors, etc aren't idiots. They swallow it and they accept it even if they know the trade offs, because what's not told here is that if management says "No, that's madness" then people quit, and that's worse. So there we go with our super performant microservices for our 10 reqs/s app.
Re:Ask HN: Is Ruby on Rails still relevant?
by mountainriver on Thursday April 28, 2022 @03:13PM
(#31196910)
Go autodocuments really well
Go has better safeguards to prevent bad dev behavior
There shouldn't be any more tests, you're testing an API either way
Re:Ask HN: Is Ruby on Rails still relevant?
by likortera on Thursday April 28, 2022 @04:50PM
(#31198034)
We're not talking here about documenting apis.
We're talking about documenting an architecture, how pieces work together, what tools are available, where to put things, etc. Check the documentation of any major web framework. That's what we're talking about.
Re:Ask HN: Is Ruby on Rails still relevant?
by weatherlite on Thursday April 28, 2022 @09:08PM
(#31200192)
What do you mean there shouldn't be any more tests?
Re:Ask HN: Is Ruby on Rails still relevant?
by mountainriver on Thursday April 28, 2022 @03:04PM
(#31196808)
huh? Go has had ORMs for ages and they are fine
To go to your bosses and tell them you have to migrate from Ruby to Go to improve productivity is a blatant lie.