…do you know you can just write JavaScript and run it in the browser? You don’t need TypeScript, NPM or build tools.
Re:Go's Sweet 16
by throwaway894345 on Saturday November 15, 2025 @09:11AM
(#45937592)
You do if you want more than one file, or if you want to use features that a user’s target browser may not support.
> You do if you want more than one file
Modules were added in, like, 2016.
Re:Go's Sweet 16
by morshu9001 on Sunday November 16, 2025 @02:03AM
(#45943330)
nodejs and npm are easy for beginners, especially compared to the Python packaging situation
By the time you understand all of typescript, your templating environment of choice, and especially the increasingly arcane build complexity of the npm world, you've put in hours comparable to what you'd have spent learning C# or Java for sure (probably more). Still easier than C++ or Rust though.