3 ms·
The overwhelming majority of serious work in JS is authored in TypeScript.
by chrisweekly 1y ago
The overwhelming majority of serious work in JS is authored in TypeScript.
- stephenr 1y agoThat just Sounds like an even stronger argument to add types to the language.
- chrisweekly 1y agoCould be.
- paulddraper 1y agoYeah. The hard part is that types are very hard/complex, with many tradeoffs. A standard with strong backwards compat and is interpreted consistently is hard (see Python).
- cluckindan 1y agoThat is a ”no true Scotsman” argument.
- chrisweekly 1y agoHow so? GP complained about JS lack of types. I pointed out that most JS actually benefits from types, given it's typically authored in TS. No moving goalposts, no "true Scotsman" arg.
- cluckindan 1y agoParaphrasing: >> JS has progressed but it still lacks types, it seems crazy to do serious programming work in a language that doesn’t have such basic things > Serious programming work in JS is done in TypeScript
- chrisweekly 1y agoMy point was agreeing with the GP's underlying point that types matter. Yes it'd be crazy to do serious programming work in JS without types -- that's why ~nobody does that. It's why TypeScript exists and ~everybody doing serious work on JS projects uses it. Their argument was almost a strawman, it refers to a hypothetical situation that doesn't pertain. Serious JS programmers use TS.
- cluckindan 1y agoAnd are vanilla 0-dep 0-build projects just gimmicks and toys?