News for hackers. Stuff that matters.
Re:Programs are dead, and JavaScript has killed them by trarmp on Tuesday December 13, 2022 @05:35AM (#33966961)
> They all have issues with versioning

Not on this scale. Let's leave out the versions of the NodeJS for clarity's sake (nvm is not for managing packages, afaik), and focus on packages. You could argue that the complexity is because of JavaScript's popularity, but it's hard to deny that running a seemingly simple `npm install` will net you tons of dependencies, and that's typical regardless of what you're installing.

Re:Programs are dead, and JavaScript has killed them by lordgroff on Tuesday December 13, 2022 @09:28AM (#33969312)
Yeah this is really the Achilles heel of the node ecosystem. It turns out having an expansive standard library is important since I'd like to think most of these issues would disappear if that were the case.
Re:Programs are dead, and JavaScript has killed them by mardifoufs on Tuesday December 13, 2022 @12:19PM (#33972086)
Python is worse. By far in my opinion.
Re:Programs are dead, and JavaScript has killed them by usrbinbash on Tuesday December 13, 2022 @04:16PM (#33975924)
Why and how?

In my opinion Python modules are rarely "one function" dependencies. And while the ecosystem is certainly enormous, so is the standard library, so for many common tasks, I don't even need to `pip install` a new dependency.

Yes, "virtual environments" used to be kind of messy, and the fact that there are usually 2 competing ways to install modules (via the OS pkg manager and pip) doesn't help either. But since `pyenv` and `venv` exist now, venvs are much less of a hassle than they used to be.