3 ms·
LLJS and Now Sweet JS Seems like mozilla is trying to answer TypeScript. Which is really good.
by arunoda 14y ago
LLJS and Now Sweet JS
Seems like mozilla is trying to answer TypeScript. Which is really good.
- iso8859-1 14y agoBut they are not solving the same problem at all! This should be a superset of TypeScript. Since TypeScript is a superset of JavaScript, you would not be forced to use TypeScript if you didn't want to. But how can I use this with TypeScript currently?
- arunoda 14y agoNo. I never want to say TypeScript is bad or not. But I wan't to say is, Mozilla is trying to do something competitive with TypeScript or may be with CoffeScript. Which is really good.
- iso8859-1 14y agoMozilla has been working on this since before Aug 1: https://github.com/mozilla/sweet.js/commit/de15 https://github.com/mozilla/sweet.js/commit/de15 I don't think they know anything about TypeScript before it was made publicly available, which happened a week ago or so.
- arunoda 14y agoOkay. I think this discussion leads to something not useful. :) We have CofeeScript, TypeScript, LLJS (have no idea when this will be usefull), Sweet JS. So It's about choices. That is good.
- gregwebs 14y agoI was wondering about integrating the two. The only way I can think of is for sjs to sit on top of TypeScript. It would not have to specifically understand TypeScript, instead there could be a macro file for everything TypeScript. These macros would just pass things through. Currently sjs doesn't support changing syntax, so this is probably not currently possible as described.