3 ms·
I don't need to "justify" their immaterialness. The OP needs to explain how it is material. But whatever... The merits of ES6 are also present in typescript.
by Jenk 3y ago
I don't need to "justify" their immaterialness. The OP needs to explain how it is material.
But whatever...
The merits of ES6 are also present in typescript. Thus claim 1 is immaterial.
Claim two is rebuked by intellisense and very strongly argued against in a shared-code world.
Claim 3 is presumptive that TypeScript would be the only transpilation, despite nue itself being a transpiler. In addition to all the other bundling modern products use for treeshaking, minification, etc. This is an insignificant and thus immaterial point.
("justification" enough for you?)
Did you even read the FAQ?
- tipiirai 3y agoJenk — can you help me with a list of valid reasons to choose JavaScript so that the TypeScript community is pleased? This would help me a lot. Thank you!
- jampekka 3y agoMy hot take is that you can't reason with a cult.
- antifa 3y agoFor me, Typescript is more like documentation combined with Grammarly.
- Jenk 3y agoI would love to but I just can't see how it could be done. I am interpreting the task as "how can we make people who favour strong typing favour not use strong typing?" - something that I just don't think is possible. I guess the nearest experience you'll get is a zealous API convention that is inuitively consistent/discoverable, but then I would still favour a type system to remove that concern anyway.
- tipiirai 3y agoThe question is more like: "What are the benefits of choosing JavaScript over TypeScript?" You must know that there are pros and cons in every language. There is a reason languages like JS, Python, Zig, C, Go, Rust.. exist.
- Jenk 3y agoGiven TypeScript is a superset of JavaScript, it's actually a question of "Would you prefer it if we took these (TypeScript) things away?"
- tipiirai 3y agoI was asking you to take a little distance from the TS-world and use your experience (and maybe emphaty) to look about the pros of JS. Preferrably a list that pleases the TS community. The fact that JS is an "universal language" and runs natively on browsers and Node is a definite one, but then again.. this was a question for you.
- Jenk 3y agoThe "pros" of JS exist within TS.
- jampekka 3y ago1. Proxies are painful to say the least on TS. 2. Code completion can be done also without static typing. Also relying on code completion is a strong smell of a bad codebase. The "very strong arguments" rarely have any empirical basis. 3. Transpilers/compilers are bad and more transpilers are worse. I would prefer a pure browser framework though. A lot of projects would be and are fine without treeshaking, minification etc. And those are practically never needed for development where the compilation step causes most harm.
- Jenk 3y agoFor someone who opened with an accusation of baseless claims, you haven't done a very good job of providing a basis for your own claims.