3 ms·
> but in practice their theory didn't work out (for various reasons) For me, one of the reasons I disliked $GOPATH is that source code was not in $GOPATH; it w
by quectophoton 2y ago
> but in practice their theory didn't work out (for various reasons)
For me, one of the reasons I disliked $GOPATH is that source code was not in $GOPATH; it was in `$GOPATH/src`.
The fact that they are very strongly against relative imports also didn't help, even if I get why they do it.
- demi56 2y agoFrom my experience the reason $GOPATH has pkg, bin src directory was they wanted to limit spread of affecting the filesystem, I could zip my go directory put it in another computer and still works as good as before, I hated Python because it couldn’t do this even pyenv have high chances of it not working correctly if changed to a different distro and most times I don’t wanna download 500M of anaconda everytime I swap.