I’m absolutely serious, though: JavaScript should be considered harmful and abolished in its entirety. This is only one reason among many.
(Granted, libraries for other programming languages could have the same issue, in theory; however, programmers of most other languages don’t have a culture of adding dependencies willy-nilly to the same extent JavaScript devs seem to.)
Every fucking language besides C++ has a proper package manager people use constantly. And conan exists for c++ if you want to push the definition of “proper”
Replace JS with ocaml Haskell anything dotnet java go rust python ruby etc. if you prefer.
Javascript just made it very easy to add libraries. I bet you if it C++ had an ecosystem as easy to use as Javascript, it would be the wildest mess you could imagine. Someone would create a package chock full of generics that sends your credentials to a foreign server during compilation but output a completely fine binary. But making dependency management easy in C++ would kill the elitist allure to the language and we can’t have that now, can we?
I’m absolutely serious, though: JavaScript should be considered harmful and abolished in its entirety. This is only one reason among many.
(Granted, libraries for other programming languages could have the same issue, in theory; however, programmers of most other languages don’t have a culture of adding dependencies willy-nilly to the same extent JavaScript devs seem to.)
Every fucking language besides C++ has a proper package manager people use constantly. And conan exists for c++ if you want to push the definition of “proper”
Replace JS with ocaml Haskell anything dotnet java go rust python ruby etc. if you prefer.
Javascript just made it very easy to add libraries. I bet you if it C++ had an ecosystem as easy to use as Javascript, it would be the wildest mess you could imagine. Someone would create a package chock full of generics that sends your credentials to a foreign server during compilation but output a completely fine binary. But making dependency management easy in C++ would kill the elitist allure to the language and we can’t have that now, can we?