2 ms·
Actually, I'm hoping to avoid TypeScript. Its use in Angular 2 probably makes it inevitable, though. At the moment, still using ES 5 (for an Angular 1 app), a
by Roboprog 10y ago
Actually, I'm hoping to avoid TypeScript. Its use in Angular 2 probably makes it inevitable, though.
At the moment, still using ES 5 (for an Angular 1 app), as we have to support IE 11 and started the project a while back before Angular 2 shipped.
I'm more interested in the functional-friendly features of ES 6 / 2016 (tail call elimination, gather/spread params & return values operations, etc) than I am in emulating Java with TypeScript. Also, I actually like JS, and would like to avoid a transpiler step.
- dietrichepp 10y agoTo clarify, I wasn't trying to convince you to use TypeScript, just saying that it's taking a larger share of the compile-to-JavaScript crowd, along with ES2015, both competing with ClojureScript. I would like to clear something up, though. TypeScript is not very much like Java, in my experience. To me, it feels like programming in JavaScript but with type annotations where you want them. If you think that TypeScript will make programming like Java, I'd encourage you to at least reevaluate that position.