Congratulations on the new edition of your book, I've had my eye on the old one for a while!
Of course. One cannot race cars in the Indy 500 without first understanding basic driving skills and car mechanics, right?
I suppose my question might be better put as "Why do you think someone ought to choose pure JS?" (assuming that you do of course).
In fact, I do work for a client who has some large CoffeeScript projects set up by a contractor who has moved on, and now he's having trouble finding people to work on them.
TypeScript seems to be getting a lot of buzz now, particulate in light of Angular2, but it remains to me seen if it will stand the test of time or not.
Anyone's mileage may vary, and I urge developers to explore and see what works best for them. But for me, JS makes the most sense, at least for the time being.
Just to pitch in. My last couple of projects are in Typescript (even non-angular2 ones). Adding types significantly eases my development process, and I find it immensely helpful that I can rely on code completion, rename a field without worry, or jump to some definition.
But, even if they suddenly stop developing Typescript, I'm pretty sure that it wouldn't be a big deal to make a transpiler that would remove the additional fluff and leave only ES6 code.
This is exactly my approach for now. If I get the feeling that TypeScript is going to enjoy both a healthy longevity (unlike CoffeeScript which seems to be fizzling) and a huge upswell in community, it would be something I'd consider adopting.
Or, of course, if someone offers me a boatload of money to learn it.
Bear Bibeault wrote:
..."trust" (maybe not quite the right word) the longevity of the transpiled languages
I am with you when it comes to CoffeeScript, etc. But what about transpilers that just work with ES6 and beyond, e.g. Babel, transpiling new standard syntax of the language, or almost-certainly-standard-to-be?
I admit I found it awkward at the beginning to use stuff like arrow functions, but now having to type function all the time feels... so... boring
Stoyan Stefanov wrote:I am with you when it comes to CoffeeScript, etc. But what about transpilers that just work with ES6 and beyond, e.g. Babel, transpiling new standard syntax of the language, or almost-certainly-standard-to-be?