Compare this to my GOPATH/GOROOT which is insanely full of mods...gigabytes...
> Compare this to my GOPATH/GOROOT which is insanely full of mods...gigabytes...
Go apps are self-contained blobs. You can just... not install it ? `go build` will just leave you with binary blob in root dir you can put whenever.
rm -rf ~/go
once a year ought to do it1. This will blow away any programs in ~/go/bin
2. Nothing in ~/go/pkg/mod has +w, so the rm -rf will not work anyway. Try
go clean -modcacheIt isn't a mess: venv + pip is simple and (usually) sufficient.
Legacy/existing code or genuine justifications excepted, of course, there is no need to use anything else - even if an alternative is better, the use of alternatives is usually worse. Short of any massive technical reason, the best option is almost always to use the default option.
The only thing they have in common is package.json, but even then they can interpret things differently, such as workspaces.
And then node_modules, which packages should not rely on but do, forcing many other tools into compatibility mode which often takes an install take a very long time.
Yes, the node ecosystem is very healthy.
Isn't the point of node_modules to house ... dependencies? I'm confused as to what you're getting at here.
Once you've landed on a package manager that does use it, wouldn't you continue to use that?
There are ways to not use node_modules, by using newer Yarns for example.
My point was that if you use yarn2 in pmp mode, and you have a dependencies that depends on the node_modules layout being at the same level as package.json, than even if your package manager doesn't not need or use node_modules, it must emulate it so the dependencies can find their files.
Last week I've had one colleague complain about his brokem npm install. He had to manually install each module and it's exact version.
A month before that, we had one broken old nodejs project which couldn't update itself cleanly.
pipenv looks like what pip should have been.
Another story on HN is "what happened to Ruby" and that really crystallized what I don't like about python. I'm not a ruby programmer, but I have to admit how much fantastic software came out of Ruby.
Ruby was always fighting Java for some reason, it should have been fighting Python. If only Ruby had won THAT war.