Hacker News new | ask | show | jobs
by mars4rp 2555 days ago
I gave it a try, but for me after years of programming in C like languages the syntax is really hard.

I know it is very similar to Ruby.

I wish there was a ElixirC syntax that would also compile to Earlang.

3 comments

After years of programming with C-like langauges, I actually came to really appreciate the syntax of Erlang. It's actually fairly simple and straightforward. I think the biggest issues people have with it are:

* Capitalized variables names

* use of comma, semi-colon, and period as clause delimiters

It's interesting, but I think that Prolog-style syntax is probably the easiest to read if you don't have syntax highlighting available (though I don't think there is as much of a difference with syntax highlighting).

IMO, the use of header files is a bit baroque and I find it makes it harder to reason about your code. Erlang structs are also no fun at all.
It seems similar to Ruby, but in the end it's more like Prolog
I think you might find one that suits your needs in this list

https://github.com/llaisdy/beam_languages