Comment by MaxArt2501

2 years ago

> it starts to add up both in bandwidth, and in storage taken

Are we really talking about disk space in 2023? Seriously?

And bandwidth? Like we don't have several cache systems - including npm's - that can help?

> how to make your software easier to change in the future

Ok, is there someone who can explain in details how would that help?

> Are we really talking about disk space in 2023? Seriously?

Well, it adds up, if you're doing multiple projects.

Doing a quick scan of my work desktop, I find 43,237 filenames matching ".js.map". The biggest is at ~10,000 KB, the smallest at 1KB. If we assume the average is just 200KB, in total they represent ~8.6 gigabytes (200 kilobytes 43237). That's not nothing.

> And bandwidth? Like we don't have several cache systems - including npm's - that can help?

Being conservative with bandwidth is a good thing for most. Not only will everything download faster because less is needed, but it'll probably be cheaper for you to run your application as serving less bandwidth either gives you a small bill if you use cloud, or requires less hardware if you're going the dedicated route.

Not to mention not everyone sits with the latest maxxed out Apple hardware for working, especially outside the SV bubble. These people deserve to be able to have a good development environment as well.

Overall, everything gets faster and cheaper if you save bandwidth.

> Ok, is there someone who can explain in details how would that help?

It's easy, the lesser moving parts your application has in the abstraction ladder, the safer and easier it gets to change things in the future.

Transpiling from one language to another to get a benefit you can also get by not transpiling a language from one to another, seems like a no-brainer to me in most cases.