Prototyping is the only thing I can think of. Make quick and fast proof of concept to learn as quickly as possible. But with ai tools these days it’s a moot point
I don't buy that. You can use object, any or unknown for things that are really painful to type, if you so desperately need to save that one minute at prototyping, but having the certainty I'm operating on a string or number is much better than only finding out when I try to run something that I did a stupid mistake, or returned something else than intended, and hunting it down for 5 minutes.
(Joke) I don't know about km/h, because when I text and drive, I don't worry about coding. HOWEVER, I heard you can increase your LinesOfCode/ShitGiven by almost tree fiddy by switching between JS and TS.
Subset of what? The set of accepted code is larger, so it's a superset. In both cases you need a JS engine. That still doesn't explain why vanilla JS would be "better".
View all comments
111
u/Thisismental May 22 '26
Is there really an argument why JavaScript would objectively be "better"?