| ▲ | OkayPhysicist 4 hours ago | |
I suspect the biggest advantage Elixir has is the relative quality of the publicly available code. Approximately no one has Elixir as their first programming language, which keeps a lot of the absolute trash-tier code that we all make when first learning to program out of the training set. If you look at languages that are often people's first (Python, JavaScript, Java), only Java has an above average score. Of those three, Java's significantly more likely to be taught in a structured learning environment, compared to kids winging it with the other two. (And Elixir's relationship to Ruby is pretty overstated, IMO. There's definitely inspiration, but the OO-FP jump is a makes the differences pretty extreme) | ||
| ▲ | Towaway69 4 hours ago | parent [-] | |
Agree with the quality level but there are other languages where that is also the case: Erlang for example is probably one of those languages. > Elixir's relationship to Ruby is pretty overstated Perhaps I am actually am over thinking this. Elixir has probably diverged enough from Ruby (e.g. defmodule, pipe operators, :atom syntax) for LLMs to notice the difference between the two. But it does open the question, though, how does an LLM actually recognise the difference in code blocks in its training data. There are probably many more programming languages where similarities exist. | ||