Re:A Modern JavaScript Tutorial
by RussianCow on Monday December 07, 2020 @03:52PM
(#25337340)
As a daily user of IntelliJ IDEA—which, IME, has the best autocomplete and code suggestions of any IDE for dynamically typed languages—there is a world of a difference between the quality of suggestions for a codebase using TypeScript and one written in vanilla JS. Without concrete types, the IDE often has to guess the possible type(s) that a value can have, whereas with TS, there is (generally) no such ambiguity.
[ Parent
| on HN ]
Re:A Modern JavaScript Tutorial
by scpedicini on Monday December 07, 2020 @04:12PM
(#25337610)
I don't really experience this issue and I use Web storm which is basically the same thing. I find that the dynamic type hinting plus the combination of using JS Doc formatted comments rarely leaves me with any ambiguity when writing vanilla JavaScript.
Are you using types in your JS Doc comments? If so, that's not vanilla JavaScript.
Re:A Modern JavaScript Tutorial
by DrScientist on Tuesday December 08, 2020 @04:51AM
(#25343542)
It is because it runs in the browser unprocessed.
You edit a file and reload, no munging pipeline,