News for hackers. Stuff that matters.
Re:Lua for Elixir by johnisgood on Thursday May 15, 2025 @03:59PM (#43998729)
Side-note: considering you like Prolog, how come you are not writing Erlang instead of Elixir?
Re:Lua for Elixir by cess11 on Friday May 16, 2025 @02:21AM (#44002327)
It's harder to teach to juniors with a background in stuff like JavaScript and Python. While it has a rather nice elegance and simplicity to it Erlang is a bit more demanding from a business and organisational perspective.

A clever intern with a rather shallow two year 'bootcamp' education and no work experience picks up Elixir and Phoenix in a couple of months. People with background in enterprise algolians like Java and C# can also get productive in Elixir kind of fast since it allows similar patterns.

In my experience Lisp-like languages prepare well for Erlang, and that's a very rare background where I live.

Re:Lua for Elixir by johnisgood on Friday May 16, 2025 @03:03AM (#44002530)
Where do you live if you do not mind asking? Europe? Western Europe, Eastern Europe?
Re:Lua for Elixir by cess11 on Monday May 19, 2025 @02:14AM (#44026915)
A sparsely populated part of Sweden.
Re:Lua for Elixir by devoutsalsa on Friday May 16, 2025 @03:20AM (#44002623)
I actually like Erlang, but I personally feel it has a lot of rough edges. I'd probably spend a lot of time polishing them to the point where I'd just reinvent Elixir, so I prefer Elixir for that reason alone.

The other reason I wouldn't use Erlang is that Elixir has a much more vibrant & active community. A lot of the Erlang libraries (as of a few years ago when I last looked) were quite old & there wasn't a lot of active development being doing on them. I like being able to track down answers to questions & documentation that is more current. And of course there are more likely to be off the shelf Elixir libraries available for download, too.