Re:You don't really need a virtualenv
by StreamBright on Thursday February 04, 2021 @07:49AM
(#26024886)
Not sure if JavaScript has anything that any other language or development tool should copy.
[ Parent
| on HN ]
Re:You don't really need a virtualenv
by wilsonrocks on Thursday February 04, 2021 @07:55AM
(#26024911)
It is a mess... But you can often get a project running an awful lot quicker than in python
Re:You don't really need a virtualenv
by notdonspaulding on Thursday February 04, 2021 @09:24AM
(#26025525)
True, but if that's the metric we're basing our language choice off of then we should all go back to PHP.
Re:You don't really need a virtualenv
by PalzyPunk on Thursday February 04, 2021 @09:55AM
(#26025792)
Yeah no kidding. I prefer it as a prototyping language. Unfortunately, I work in networking, and it's become the raison d'etre for our "DevOps". At least we're not using Ansible anymore... :|
Re:You don't really need a virtualenv
by nicoburns on Thursday February 04, 2021 @08:04AM
(#26024968)
JavaScript's package management is significantly better than Pythons:
- There's one tool to use, and it comes pre-installed
- You don't have to deal with virtualenvs or packages from different projects conflicting.
- Native code dependencies "just work".
> You don't have to deal with virtualenvs or packages from different projects conflicting.
That's only because you're basically assured there will be conflicts inside any single project. Every time I install anything via npm I get a boatload of warnings about insecure dependencies, which are effectively impossible to fix without breaking the whole mountain of hacks.
There are good deployment stories out there. JS is not one of them.
Re:You don't really need a virtualenv
by nicoburns on Thursday February 04, 2021 @08:52AM
(#26025290)
> That's only because you're basically assured there will be conflicts inside any single project.
That's not an issue with the package management though, that's an issue with the quality of the packages themselves. The JS ecosystem does have issues there. But the tooling itself is good.
Re:You don't really need a virtualenv
by dboreham on Thursday February 04, 2021 @08:14AM
(#26025032)
That one tool must be yarnnpmgypbabelwebpack?