When comparing Opa vs Python (via Skulpt), the Slant community recommends Opa for most people. In the question“What are the best languages that compile to JavaScript? ” Opa is ranked 30th while Python (via Skulpt) is ranked 34th. The most important reason people chose Opa is:
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.
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 Suspensions
You can write blocking methods that don't cause the whole page to hang, something difficult to do in languages targeting Javascript.
Pro Interactive REPL
You can evaluate new Python code in the browser written by the user.
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.
Con Python 2.6
Skulpt implements an outdated version of the Python language.
