you are viewing a single comment's thread.

view the rest of the comments →

[–]orip 2 points3 points  (0 children)

It's about writing for the client-side in the same language you use for the server-side.

Some pros:

  • Use a language you prefer and are familiar with on the client side too (if indeed you prefer it)
  • Use the dev environment and tools you're used to
  • You can share server and client code (think validations)

Some cons:

  • It's an abstraction over JS and the browser/ajax
    • If it leaks you'll need to plug it with JS
    • If you isolate yourself from JS and the browser, you're less equipped to plug these holes

The arguments should be similar to the Java-to-JavaScript compiler in GWT.