Remix.run Logo
michaelchisari 6 hours ago

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.

bluehatbrit 3 hours ago | parent [-]

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.

epolanski 3 hours ago | parent [-]

I also like Elixir, and I've used it for a handful of projects, the language may not be huge, but is conversely bloated by macros.

I dislike macros and languages allowing developers to get creative with their own DSLs.