3 ms·
The dynamic nature of JavaScript is lost when using TypeScript. Although TypeScript can be added incrementally, in practice I've only seen it totally replace J
by zerocount 5y ago
The dynamic nature of JavaScript is lost when using TypeScript.
Although TypeScript can be added incrementally, in practice I've only seen it totally replace JavaScript.
While I do believe more people prefer TypeScript over JavaScript, I think it's because those people never deep dived JavaScript or bothered to learn it enough to see how powerful it really is. There are also people that just prefer typed languages and will shun languages without static types.
This really is a religious war and boils down to one's opinion. I like JavaScript without typing.
- joelbluminator 5y agoWhy the downvoting? You somehow upset the typed mob I guess...
- regularfry 5y agoOnce you have more than one team in the same codebase the opinions start to line up as people start to think the types will save them from stepping on each others' toes. Which it might! Publishing types is also a poor-man's contract testing, so people who like that sort of thing will like that sort of thing.
- eropple 5y agoI have implemented a JavaScript virtual machine. I feel confident in my knowledge of JavaScript as a language and as an operating environment. What power am I no longer able to leverage using TypeScript when it's appropriate to do so?