Re:Coding agent in 94 lines of Ruby
by elif on Saturday May 17, 2025 @07:30AM
(#44013534)
Thank you for showing off why ruby is useful not just in the current year, but particular to the current time and AI situation. When you're dealing with code written with hallucinations, you want an easy to understand quickly language (of which ruby is S tier) where out of place behavior cannot hide in code so repetitive and unnecessary that your mind tries to skip over it.
[ Parent
| on HN ]
Re:Coding agent in 94 lines of Ruby
by radanskoric on Saturday May 17, 2025 @08:58AM
(#44013982)
That's an excellent point.
Code was always read more than written. With AI it shifts even more towards reading so language readability becomes even more important. And Ruby really shines there.
Ruby, the language famous for lots of difficult to understand runtime “magic”?
Re:Coding agent in 94 lines of Ruby
by radanskoric on Sunday May 18, 2025 @11:42AM
(#44022173)
It's a sharp knife. You can create a messy nightmare or a clean super readable codebase, it's up to how good the author is.
So Ruby isn’t actually a good target for stochastic parrots, after all.
You’d want the opposite, a language with automatically checked constraints that is also easy to read.