|
|
|
|
|
by nox_
4288 days ago
|
|
When two languages have different scoping rules, they don't have the same semantics.
When two languages differ in their opinion about macros, they don't have the same semantics. When two languages have different semantics, they are different languages. And finally, when two languages have fundamentally different syntaxes, the idioms promoted by their creators differ, and thus problems are solved in different ways. They are not fundamentally the same language, no. |
|
Of course, it's not; any language that targets BEAM could pick up those advantages "for free", in the same way Clojure gets a bunch of Java libraries "for free." But people compare programming languages, not abstract machines or library ecosystems. If you treat Erlang and Elixir as black boxes, hiding BEAM and the OTP (the way someone who doesn't know either language would), then they seem to be much more similar to one-another than any other language is to either of them.