Opa vs ElixirScript
When comparing Opa vs ElixirScript, the Slant community recommends ElixirScript for most people. In the question“What are the best languages that compile to JavaScript? ” ElixirScript is ranked 26th while Opa is ranked 30th. The most important reason people chose ElixirScript is:
Uncluttered, yet unambiguous syntax
Ranked in these QuestionsQuestion Ranking
Pros
Pro Type Inferred
Opa uses type inference to decide what code runs on the client or the server, so you can organize code how you like, but still be sure that it runs where it needs to.
Pro Familiar Javascript Syntax
Opa's syntax is very similar to JavaScript, making it an easy choice for developers who are used to developing in JavaScript.
Pro Client and Server in the same language
Pro Clear syntax
Uncluttered, yet unambiguous syntax
Pro Excellent community
The Elixir community has proved to be welcoming and very supportive.
Pro Great for concurrency
Leverages the existing Erlang BEAM VM
Pro More familiar syntax
All of the benefits of Erlang; without as steep a learning curve of prolog based syntax. Elixir is heavily inspired by Ruby's syntax which many people love.
Pro Great documentation
Elixir's documentation is very good. It covers everything and always helps solving any problem you may have. It's also always available from the terminal.
Cons
Con Not popular
Opa is not as popular as other languages which compile to JavaScript. Making it harder to find learning resources or even answers if you get stuck somewhere.