3 ms·
Personally, I'm not a fan of TypeScript anyway. JavaScript is a lost cause to me. I'm not a full time JS Dev, so every time I have to touch one of our Node pro
by ragnese 6y ago
Personally, I'm not a fan of TypeScript anyway.
JavaScript is a lost cause to me. I'm not a full time JS Dev, so every time I have to touch one of our Node projects at work, I mentally prepare myself for very slow dev speed (ironic, considering the arguments that dynamically typed, loosey goosey, language speed you up) and frustrating bugs around `this`, mixed up function arguments, forgetting to await promises returned from functions, etc.
But TypeScript really doesn't actually help that much compared to an IDE that understands JSDoc. Its type system is unsound and it's too accommodating of JavaScript's nonsense.
If I ever start a new project that just has to run on Node, I'd probably try one of these languages that transpiles to JS, but is totally different, like Clojure or OCaml.