logoalt Hacker News

michaelchisaritoday at 7:52 PM1 replyview on HN

PHP has had a lot of conventions so the training data is all over the place. Ruby is a nightmare in that regard. Can't speak to Elixir but I'm surprised to hear someone say LLMs producing good code in either language.

On the other hand, Go code from 2012 and Go code from 2026 looks virtually the same. Conventions are respected, go fmt is the one single formatter, "use the stdlib" is a popular mantra and the code is readable by design.

If I were to codegen a project I wouldn't use anything but Go at this point.


Replies

bluehatbrittoday at 10:22 PM

I've been using elixir professionally and for hobby work for the past 7 years now. Language models are damn good at it, and have been for some time.

The language isn't huge, the documentation has always been very good, and the patterns extremely consistently across the community. I almost wonder whether it's smaller community has been a benefit, as LLMs have been trained on a tighter set of code samples.

I can't speak for Ruby or PHP.

show 1 reply