3 ms·
> - Compile time means that it takes more time to debug anything. how can this be an issue? even javascript needs to be concated minified and whatever to take
by merb 10y ago
> - Compile time means that it takes more time to debug anything.
how can this be an issue? even javascript needs to be concated minified and whatever to take it into production.
it's not like that any human writes minified and mangled javascript with direct gzip.
P.S.: I'm not a fan of TypeScript. But to say you need to compile it, is just an excuse.
- WorldMaker 10y agoThe Typescript compiler is also happy to run directly inside the browser because it is itself written in JS. I've debugged projects where the TS is compiled at runtime inside the browser and F5 refresh is the entire build process. Though it's just as easy to use a good IDE's build button (VSCode Ctrl+Shift+B for instance) or TS works well as a watch process that watches for saves and compiles them when you save.