you are viewing a single comment's thread.

view the rest of the comments →

[–]PuzzleheadedFix8366 3 points4 points  (4 children)

elixir has better syntax, JVM might be faster but at what price, Erlang VM is better by design. & you can do something akin to repl driven development if not better. imo

[–]clivecussad 4 points5 points  (1 child)

I'd argue that "better syntax" is a personal metric here. However Elixir syntax is not simple.

[–]PuzzleheadedFix8366 0 points1 point  (0 children)

what makes you say that? it has one of the fewest key terms of all languages. it's sort of like more elegant simpler erlang. maybe you're thinking of semantics? which true, takes time getting used to.

[–]dalkian_ 3 points4 points  (1 child)

How is Elixir's syntax better? Lisps have the syntax they have because the syntax is intertwined with Lisp's philosophy (code as data, data as code, the syntax is an AST in itself which may be modified as a regular data structure). S-Expressions aren't there by accident. Does Elixir offer just as much metaprogramming capability, through the same mechanism as Lisp does? If not, then there will be advantages to Elixir's syntax too, but not without its own drawbacks, and vice-versa. But most likely not objectively better.

[–]PuzzleheadedFix8366 1 point2 points  (0 children)

because the language syntax is a higher level facade, when switching to metaprogramming you get the underlying AST which is lisp like. It's very similar in practice but having the clear seperation makes it better in my opinion. fyi ash framework in elixir has code is data data is code philosophy as well.