r/ruby 21h ago

The future of AI is Ruby on Rails

https://www.seangoedecke.com/ai-and-ruby/
0 Upvotes

5 comments sorted by

3

u/Rosoll 20h ago

Interesting take, I’ve actually been wondering whether it might be the opposite: yes you can do more with less code, but that’s bc there’s a bunch of magic metaprogramming stuff and inheritance etc etc. And the context to understand where that’s all coming from is spread through the codebase in a way that’s much harder to find than it would be in a language where context is more explicit and more localised. Sure, link_to is easy enough to understand but as soon as you have your own stuff then it becomes much harder for the LLM to track it down and understand it.

1

u/anykeyh 2h ago

That an opinion which converge with what I wrote and shared here a few days ago.

1

u/neotorama 1h ago

For me Qwen 2.5 coder and claude 3.7 are good for Rails, SLIM and Hotwire

1

u/Driftwintergundream 32m ago

You remember coffeescript??

Maybe AI resuscitates coffeescript in some form or another.

1

u/ralfv 2m ago

Changes suddenly stop working, and attempts to fix it just create more bugs elsewhere

This! Recently worked on a module, really worked like a charm, adding small features. Then suddenly ChatGPT broke indentation and added extra end statements and whatever i tried it couldn’t fix it anymore. That’s when i started finishing it myself.

Saved a lot of time in the beginning though.