Re:Write code. Not too much. Mostly functions.
by mssundaram on Monday December 21, 2020 @08:57PM
(#25502043)
> 've opted to organize most of my code around the ~/namespace/src/domain/repo scheme. I never lose track of where a folder is
Yes I do the same! I don't lately write any Go but I really appreciate the organization this way
Re:Write code. Not too much. Mostly functions.
by fiddlerwoaroof on Monday December 21, 2020 @10:54PM
(#25502679)
Nix isn’t any of these? It installs each replicable version of a package once, but it’s not visible outside of the project that uses it.
Re:Write code. Not too much. Mostly functions.
by kortex on Tuesday December 22, 2020 @01:51PM
(#25509729)
Never worked with Nix, though it looks interesting.
Re:Write code. Not too much. Mostly functions.
by fiddlerwoaroof on Tuesday December 22, 2020 @02:18PM
(#25510002)
It has rough edges, but I find it one of the better developer experiences.
Re:Write code. Not too much. Mostly functions.
by lookdangerous on Monday December 21, 2020 @09:22PM
(#25502175)
Is your home dir chock full of namespace folders?
Universal:
- apt, yum, brew
Team PATH:
- GOPATH
- CMAKE_PREFIX_PATH
- PYTHONPATH (which Conda, virtualenv, etc modify)
- CARGO_HOME
Team redundant local blob:
- Node
- pipenv
Rust is probably the least-half-assed (most full-assed?) model, with both a sane user-wide default for cache (~/.local/cargo), a way to edit that default, and project location flexibility.
But I actually love the Go notation that I've opted to organize most of my code around the ~/namespace/src/domain/repo scheme. I never lose track of where a folder is :)