Comment by robgough
1 day ago
Concerns with his politics aside, I do think there's a truth to what he's talking about here, and that he is just spelling out the reality that developers are, or shortly will be, facing. For many this will be deeply uncomfortable to hear.
It is notable that his perspective in this talk is very much from a developer-user side rather than someone who is responsible for the framework itself. That surprises me, and I suspect it is not a good omen for Rails.
For all of this embrace of agentic development, there is nothing here on how they are adapting the framework for this new agentic development reality. Agents do currently work well with Rails, but there's nothing here pushing things forward as best as I can see.
I know for my own projects I've largely moved to Elixir/Phoenix, for similar reasons to his use of Rust... I didn't want to have to learn it, but now I don't have to and I get to benefit from its strengths.
I think a lot of people haven't actually watched his talk and don't understand what he is saying. If you watch the talk, he is not anti-rails. He is just very pro- agentic coding.
What he was saying in his talk was that his customers (people using Hey for email and calendar) never really wanted hybrid web-native apps, they want native apps (like most people prefer on mobile). His business could never afford to have a dev team that built and supported six different native apps, so they always built using hybrid web-native stuff using Turbo Native.
Now that his development team has access to agentic coding, they can build and maintain six mobile native apps. For his app, the back end part then becomes small and simple and they can reimplement it in rust to reduce server cost.
His point wasn't that rust is better than ruby, or anything like that. His point was that agentic coding allows smaller teams to do bigger things. For most people building on rails, their customers don't need native mobile apps (I know mine don't) and for them Rails is a fantastic choice for agentic coding.
Rails is so into agentic coding that they publish benchmarks of how effective different models are for building with rails:
https://rubyonrails.org/ai
TLDR: DHH isn't anti-rails, he is pro-agentic coding. Rails is great with agentic coding. AI doesn't mean layoffs, it means your teams can do much more than they could do before.
It seems to me, so far, everyone moved one level up.
- A layperson can now build one a solo developer can do
- A solo dev can now build what an agency of web development can do
- An agency of web development can now build native apps similar to what large corporation can do
- Large corporation can now tackle even more ambitious projects
Which makes sense given what got automated. This is with the current tech, people still exploring the full potential, but if that turns out to be the case then I'd argue the software market will grow substantially and we are just having an adjustment period.
And the results are 1999 websites like hey.com?
4 replies →
> If you watch the talk, he is not anti-rails.
He explicitly said he still loves ruby as a language and thinks Rails is well suited for a future with AI coding.
It's interesting how this stuff gets spun on social media by people who don't watch the content.
It looks like he spent about 4 minutes out of the 1:03 making that point.
I can't but help think that he would have spent longer on it if that's what he really thought.
I don't think he believes in Rails any more.
It's clear that he was more excited about thing that are not ruby or rails and now considers rust better suited to the output of AI.
To be honest, I could see rust taking over from typescript/javascript as an output language for the web too. If no one needs to read source code any more why not use rust for everything?
2 replies →
It doesn't matter if Rails is well suited for AI or not. Now, there's less incentive and reasons to use it.
2 replies →
> AI doesn't mean layoffs, it means your teams can do much more than they could do before.
That sounds like layoffs lol.
At least within my circle, that’s not really the case. Instead, what I’m seeing is more of a hiring freeze, with the budget being used to empower existing employees through AI. Which I think is a more reasonable take.
it sounds like leverage
as a solo: you can build and ship more in your own time
as a startup: you can iterate and scale more with more velocity and less growing pains
as an enterprise: people with ideas but not a technical background can put their tokens where their mouth is and build their own interfaces, personal apps, ask their own questions, ship their own features without having to navigate layer 8 and play games for resources
If every engineer is 10-100x more productive with AI, and one company slashes its workforce to maintain the same level of productivity at reduced cost, it will lose out to its competitor who retains the same workforce and does far more with it.
Right now, the vibe at my company is not “we can save so much money with AI” it’s “here’s an infinite budget, use all the tokens you can to expand our moat because we’ve never been more sensitive to competitive disruption than we are now”
Why does it sound like layoffs? If you keep the team size the same and use the productivity increase to deliver more business value, how is that layoffs?
2 replies →
He's not anti-rails. He just won't be using it.
> His business could never afford to have a dev team that built and supported six different native apps
It’s his business decision to save on native app development costs to increase his (generous?) profit margins.
One of the things I admire most about Basecamp is that they are a bootstrapped, profitable business. There's no shame in running a business this way. The world would be more resilient if more business owners grew sustainably instead of soaking up endless invester funding and losing money year after year before enshittifying in a desperate attempt to repay their overlords.
1 reply →
[dead]
> Rails is so into agentic coding that they publish benchmarks of how effective different models are for building with rails
To each their own, but I think using Rails in the era of agents is probably a mistake. It has 2 big problems IMO.
(a) A ton of footguns that an agent can and will miss on occasion, and as we manually review less and less code, we will also miss it, and
(b) security on the web has become increasingly important due to hostile AI agents, and while rails has great secure conventions (see (a)), it's still easier to screw up something and not catch it until after it's deployed because there are simply less guardrails in place (dynamic types, no compile, slow tests, generally bad performance profile).
Not sure if you’re speaking from experience or just being theoretical here. We’re using Rails and it’s been great. Maintenance and upgrades have been a breeze.
All this static vs dynamic stuff doesn’t really matter anymore. AI doesn’t care. You just need to close the feedback loop with tests, linting, a compiler, or whatever else gives it a clear signal.
Simple as that.
1 reply →
What languages are best suited for development with agentic coding?
6 replies →
>His business could never afford to have a dev team that built and supported six different native apps
I have a hard time believing that, considering his hobby of racing cars and commissioning one-off hypercars. Unless it's that his business could never afford that dev team after DHH takes his salary.
> TLDR: DHH isn't anti-rails, he is pro-agentic coding.
That's an opinion, not a summary though. The way how DHH behaved is really awkward in the last years. See the "let's shoot down wolves" blog entry here:
https://world.hey.com/dhh/wolves-sheep-and-gypsies-ba44af6a
That DHH is into AI agents everywhere is easy to see, but if you go to rails-con, would you not expect this to be about rails as such, and people? Now it's about rust - and AI. Controlled by big corporations. Yikes - some people must be upset about having gone there to listen to DHH preaching about an agentic future.
Edit: I also watched parts of the recent youtube video about rails. I could not focus on the content because DHH's style was so strange. I've seen that style before - nothingburger talks. Look at phrases he used such as "I have retired from being a professional programmer/software engineer". This is all aimed to hype up "agentic coding is the future". Rails is dead - that video is all the proof one needs. DHH shifted gears to AI, and it is quite similar to when he first promoted rails. But now it is about AI, not rails.
Do the teams fully understand the code that they are committing? Are the teams reviewing each others code or are agents? When agents do all the coding, and perhaps the reviewing, and the patching what is left of the team? People lose connection to their work, and the social bonds between workers begins to erode.(1) DHH's speech seems like a weird eulogy for the entire Rails community, although many of us saw this coming several years ago.
Also, I hate native apps. FWIW most devs I know actively try to avoid them.
(1) https://www.uclawjournal.org/how-ai-destroys-institutions/
Most devs I know who hate native apps are either web devs trying to embed web tech into everything they touch, or they just hate Apple.
Most users don’t care. What they do care about is performance, and native is usually the easiest way to get there.
For your AI workflow questions, it depends. With or without AI, those decisions depend on the organisation’s direction, the team’s capabilities, and their preferences. Did your org have a single answer for the best programming language, framework, or workflow even before AI? There was never a single right answer to any of that.
1 reply →
> Concerns with his politics aside, I do think there's a truth to what he's talking about here
One thing the AI era has changed for me is how easily I spot Gell-Mann amnesia, of which this is an unfortunately strong example.
His politics, even putting aside their nature, are framed with deliberate misuse of facts and data; why would he be someone to listen to in any depth on any other topic?
Gell-Mann amnesia assumes a journalist is not an expert on _anything_. In this case, DHH is (according to some) an expert on software but it's much less clear he's an expert on politics. So I'm not sure Gell-Mann amnesia applies here, it's maybe more like Nobel disease, where you're an expert on one thing and assume it "transfers" to other fields.
> much less clear
I have a background in sociology and urban planning. It's very clear that DHH is not an expert on politics. His blog posts demonstrate a very elementary understanding of the topics he covers. He doesn't even understand statistics.
1 reply →
> His politics [...] are framed with deliberate misuse of facts and data;
Any specific examples? I am/was out of the loop on this and had to Google "DHH politics" to know what people are talking about.
With his infamous "As I remember London" article [1] he directly correlated skin colour to nationality leading to the claim that native Brits had dropped from 60% to a third.
If you check now using current sources the British-born population is still around 59% the only thing that has changed is that fewer people identify themselves on the census as 'White British' which has a host of reasons around it. So he took a misleading statistic, interpreted it incorrectly and then built some kind of nostalgic story around it to support what was essentially an excuse to support far-right thugs protesting.
[1] https://world.hey.com/dhh/as-i-remember-london-e7d38e64
1 reply →
Thank you for mentioning the effect by name. I read first about it 20 years ago, memorized it under a totally different name, and was never able to find it again.
I am slightly abusing/overstretching the concept, to be fair; other commenters are not wrong to remark as such. But still.
One thing the AI era has changed for me is how easily I spot Gell-Mann amnesia, of which this is an unfortunately strong example.
The one for me is spotting the Baader-Meinhof effect, of which this is an unfortunately strong example.
Touché. I mean it has almost the same meter. I get that you're disagreeing with me, but have my compensatory upvote.
> The Gell-Mann amnesia effect is a cognitive bias where a person spots major errors in a media report on a topic they know well, yet completely forgets that unreliability and trusts the rest of the same publication on unfamiliar topics.
Yes. I am broadening the definition of "media" and "publication", maybe, though it is posts on his own publishing platform and performances at his own breakaway conference.
But if someone misrepresents deliberately on a topic of polarising importance, why would you spend any time listening to them on any other topic?
I would (still) listen to him if I did not know he wrote stupid wrong things on other topics in bad faith.
2 replies →
> That surprises me, and I suspect it is not a good omen for Rails.
I had a fairly opposite reaction: Knowing what you can't be and how much less important your past work is going to be is good. If there are good reasons for more people doing less in Rails, then the creator is probably the person you want to be most level headed about that.
(They can, of course, still be wrong)
Nothing that he said is just him espousing the truth. It is the world as he and all the other AI-pilled people wish it to be. It is a world they want to convince everyone is inevitable. There are still a lot of people outside of tech bubbles that don't like the direction AI is going and don't want to embrace what these companies are doing or how the government is handling it.
And honestly, do people really think everyone is just going to become an "energized creator"?
AI is not as big of a productivity boost as compilers were but it is not zero. Back then, SQL was created and marketed as something “managers could use”, another parallel to the current cycle. This whole hype cycle is something we’ve seen before and IMO, we should know better how to handle it this time around. It’s a bit disappointing to hear the same arguments every time.
This has nothing to do with programming or productivity. I am addressing the fact that people like DHH and his fans are in the habit of framing the future as written and that you can either embrace it or get crushed. Embracing it is giving OpenAI, Anthropic, et. al your approval to keep on going. I'm not denying that AI can do the job a lot faster.
1 reply →
i have nothing else to say to you other than good luck
[dead]
By "concerns" did you mean to say "I don't agree with some of his political opinions".
Yeah, because being a fascist and racist is not concerning at all.
I find it interesting to see the different dimming levels of comments in this thread. This person calling DHH a fascist and racist is undimmed while the previous much more mild (but implied right leaning) comment is almost disappeared.
.·°՞( ̑ ᗜ ̑ )՞°·.
It seems the new definition of fascism is any political opinion that isn't hard left.
2 replies →
i'm missing out on backstory gossip evidently: what's this fascist and racist accusation ?
2 replies →
cringe
I literally just patched an AI-generated API endpoint on a new service at work that shipped without any auth whatsoever, because AI was re-implementing the auth token check method individually in each child controller instead of implementing once in a before_action hook. That's Rails 101 stuff and the app is small. It was so obvious that I saw it right away just reading the code, I didn't even set an agent loose to do an initial inspection. It was a real "yeah I still got it" moment for me.
I'm on board with the idea that agents are going to write most of the code, but not checking it is just insane to me, based on some of the things I've seen committed in commercial codebases recently.
One of the strengths of Rails was that it helped developers who maybe didn't always know the "best way" to build things to build in a standards compliant way – not that you couldn't do things like return a 200 for Not Found if you really wanted to etc.
I'm always pleased when working with a dev who has Rails experience even if they've since moved stack, as often they have picked up and learned the value of these good behaviours. Perhaps it's as much a community thing as a framework thing, or combination of both.
Agentic development definitely still has room to improve, but I suspect that there is some future framework (maybe even language) designed to help minimise these types of mistakes.
Interesting that all the patterns Rails adopted for humans to write better code can't easily be funneled into the LLM doing the job now. Seems like it should be.
Is it types? Are types the answer? Is it rust?
4 replies →
> Agentic development definitely still has room to improve, but I suspect that there is some future framework (maybe even language) designed to help minimise these types of mistakes.
Maybe there will be one day, but what are the odds that it will meaningfully move the needle for existing platforms such that manual code review is unnecessary? "Blindly trust the output" is not a feasible security posture today.
1 reply →
Why do you think an AI audit (say from Fable/Astra at xhigh) wouldn't have caught this?
Software engineering is so back.
When designing systems, you want the important details to be right. Especially with authentication and authorization.
From an architecture level, you can know which classes are important to review and which ones are not.
Yeah that is how I see it.
In Software Engineering, we learned about requirements, testings, system design, UMLs, etc, and those seems to be more relevant than ever.
1 reply →
What model though?
But he himself promotes such a future too. This is a conflict of interest.
You can say "ride the wave", but this is more - this is helping the wave become huge. And cashing in too. Sorry, but I no longer buy any of what these guys do. To me they seem like BigBro ad-clowns.
> Agents do currently work well with Rails
According to whom? And not everyone wants to become dependent on corporate-agents sucking them dry financially. We all know the increase-in-cost will come with regards to tokens, after the get-hook addiction phase is over.
Or you know just use one of the many great open models. The LLM wave can be taken just fine without "corporate-agents suck them dry".
[flagged]
Imagine having to virtue signal your comment first like that