2 ms·
Agreed, but where do "different" begin and where it's still "just JavaScript"? Almost all patterns supported by LiveScript syntax are already present in JS and
by klibertp 13y ago
Agreed, but where do "different" begin and where it's still "just JavaScript"? Almost all patterns supported by LiveScript syntax are already present in JS and CS as a libraries. For example the cascade syntax in LS is almost the same as what raganwald's KaTy.js provides semantically. Similarly, function composition is supported by more than one library (Underscore.js has "compose", for example) and currying is also easily implemented in both JS and CS (see raganwald's writings, for example http://raganwald.com/2013/03/07/currying-and-partial-application.html http://raganwald.com/2013/03/07/currying-and-partial-applica...), so once again the only thing LiveScript provides is a bit of syntactic sugar. Is it really that different from Coffee or JS?
In my opinion LiveScript is as similar to JS as Coffee is, just where CS adds syntactic support for more imperatively and OOP oriented constructs LS focuses on functional and declarative ones. Which are all expressible in JS.
Actually "different" would be ClojureScript, Amber or Objective-J. Or any number of compile-X-to-js projects.