3 ms·
Is it just me or does Erlang's syntax look a little bit nicer than Elixir's?
by behnamoh 2y ago
Is it just me or does Erlang's syntax look a little bit nicer than Elixir's?
- Capricorn2481 2y agoI'm an outsider to this ecosystem, but I've seen a few people share that same opinion. They prefer the explicitness of Erlang.
- sodapopcan 2y agoElixir is still very explicit from a syntactic point of view. Macros allow hiding a significant amount of boilerplate in certain behaviours, though. So it's a matter of preference, of course.
- SoftTalker 2y agoIt's inspired/descended from Prolog, and my impression is that many people find it a bit odd. It is at first, but I quickly adjusted to it and quite like it now.
- whalesalad 2y agogleam is probably my favorite middle ground between elixir and erlang.
- bmitc 2y agoElixir came from Ruby developers and thus has similarly verbose syntax and macros. Erlang's syntax came from Prolog, which was used to implement the first compiler and is why Erlang's syntax is more concise.
- ValtteriL 2y agoI learned Erlang at school and used to prefer its syntax for years. However, after giving Elixir a chance and writing 1000 loc I was converted. Now I look at snippets of Erlang in docs with mild disgust.
- pton_xd 2y agoErlangs syntax takes a bit of getting used to but it's very pleasant to use once you're familiar with it. I like it a lot.