When comparing KAJS vs PharoJS, the Slant community recommends PharoJS for most people. In the question“What are the best languages that compile to JavaScript? ” PharoJS is ranked 13th while KAJS is ranked 51st. The most important reason people chose PharoJS is:
For people who enjoy programming in Smalltalk, Pharo allows developers to use Smalltalk for web development as well, since it transpiles Smalltalk code to JavaScript.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Has Ruby-like @ feature
So for example instead if using this.foo
, you can call that variable by using @foo
.
Pro Implicit bracket and variables
No need for var keyword or brackets, just call a function like foo "bar".
Pro Program the web in Smalltalk
For people who enjoy programming in Smalltalk, Pharo allows developers to use Smalltalk for web development as well, since it transpiles Smalltalk code to JavaScript.
Pro Support for Phonegap to go directly to iOS/Android mobile App
Pro Compiles to very efficient Javascript, with almost perfect Smalltalk semantics
Pro Great IDE support
Pro Seamless integration with JavaScript libraries
Can directly call to / be called from JavaScript and can use foreign JavaScript objects.
Will soon have ability to generate and use AMD modules.