Remix.run Logo
jjcm 4 hours ago

The possibly ironic thing here is I find golang to be one of the best languages for LLMs. It's so verbose that context is usually readily available in the file itself. Combined with the type safety of the language it's hard for LLMs to go wrong with it.

shepherdjerred 4 hours ago | parent | next [-]

I haven’t found this to be the case… LLMs just gave me a lot of Nil pointers

jsight 4 hours ago | parent [-]

It isn't perfect, but it has been better than Python for me so far.

Elixir has also been working surprisingly well for me lately.

cyberpunk 2 hours ago | parent | next [-]

Eh it depends. Properly idiomatic elixir or erlang works very well if you can coax it out — but there is a tendency for it to generate very un-functional like large functions with lots of case and control statements and side effects in my experience, where multiple clauses and pattern matching would be the better way.

It does much better with erlang, but that’s probably just because erlang is overall a better language than elixir, and has a much better syntax.

krainboltgreene 4 hours ago | parent | prev [-]

God I wish it didn't.

ipaddr 4 hours ago | parent | prev [-]

I fould golang to be one of the worst target for llms. PHP seems to always work, python works if the packages are not made up but go fails often. Trying to get inertia and the Buffalo framework to work together gave the llm trama.