3 ms·
in principle llms should do better on immutable languages since there is no risk a term will get modified by a distant function call.
by throwawaymaths 1y ago
in principle llms should do better on immutable languages since there is no risk a term will get modified by a distant function call.
- bevr1337 1y agoIn my experience, it's the functional part, not immutability, where they fall short. Any LLM can write immutable C# because it's easy and there's incredible amounts of training data.
- throwawaymaths 1y agogood news, "immutable" is pretty much the only way that elixir is "functional" except for lambdas being first class datatypes (which is almost every language now)