7 ms·
Erlang's syntax isn't simple at all. No if statements, no for loops, only recursion and guards. Else is ; and there are proper and improper lists e.g. [1|2] is
by niutech 11y ago
Erlang's syntax isn't simple at all. No if statements, no for loops, only recursion and guards. Else is ; and there are proper and improper lists e.g. [1|2] is improper but [1|[2]] is proper. Weird.
- im_down_w_otp 11y agoSo it's not simple because it has less stuff and it's not an imperative language?
- niutech 11y agoIt's not simple = it is hard to learn for people coming from C/Java/JS-like environment.
- im_down_w_otp 11y agoThat makes it different. Not complicated. It's many, many times simpler than the syntax and semantics than any of thos e three that you listed. The only language that I can think of that's simpler is Lisp.