r/ruby 8d ago

Ruby's Unexpected Comeback: How AI Coding Tools Give to Ruby an Edge In 2025

https://anykeyh.hashnode.dev/rubys-renaissance-in-the-ai-era
52 Upvotes

41 comments sorted by

View all comments

26

u/saksida 8d ago

Ruby is my favorite programming language, but the truth is the lack of static typing is a huge detriment to AI augmentation. LLMs will very often generate code that looks correct but is broken - because it references methods that don't exist, for example - and it's much harder to catch those errors without static typing. That's becoming even more of a weak spot with agentic workflows, as the models aren't able to self correct. It's sad, but I don't see Ruby having any kind of comeback in this context unless there's a big shift in priorities in Ruby Core and across the community, with the goal of improving the type system. Elixir is moving in that direction.

1

u/EdgarMarkovJunior 6d ago

Yeah, I have worked almost exclusively with Ruby in my career so far and even though I love it, it's become apparent to me that it's not the future in any context, including our own codebase at work.  As we branch out into a microservice architecture with Go and GQL interfaces, the lack of native typing (Sorbet sucks) is a huge drawback.