throwawaymaths parent
in principle llms should do better on immutable languages since there is no risk a term will get modified by a distant function call.
In 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.