3 ms·
> Always, Always Require a Compilation Step [...] as opposed to, say, writing code as it will be run I have a hard time believing that writing vanilla JS is su
by jesse__ 1y ago
> Always, Always Require a Compilation Step [...] as opposed to, say, writing code as it will be run
I have a hard time believing that writing vanilla JS is superior to using a compiled language in any but very simple cases. Seems like bad advice to me.
- Rumudiez 1y agothe nuance of the statement lies in the first word, repeated for emphasis
- labrador 1y agoI think the author meant to say use as many build steps as possible
- austin-cheney 1y agoNode now executes TS directly without a build step. This includes TypeScript that only executes in the browser. Just import the given code file into your Node application and then send the output as a string: my_script.toString(); Boom, strongly typed code with no compile step that executes in both Node and the browser.