4 ms·
Is it really a name collision when they're effectively completely different namespaces? For example, no one thinks Rust's `cargo` might be the same thing as Rub
by jxf 1y ago
Is it really a name collision when they're effectively completely different namespaces? For example, no one thinks Rust's `cargo` might be the same thing as Ruby's obscure `cargo` library.
- pxc 1y agoIt's not a library. It's an executable that needs to be on the PATH to use it. And the executable has the exact same name.
- jxf 1y agoSo does the example I provided.
- woodruffw 1y agoAt this point, I think the namespace for 2-3 character CLI binaries has probably been clobbered several times over.
- pxc 1y agoMy lazy heuristic is to use nix-locate to search through the 100k packages in Nixpkgs, e.g.: > nix-locate -r 'bin/uv' Not perfect, but sort of useful for choosing names for executables for internal corporate projects, little wrapper scripts, etc. It's definitely still possible to find reasonable names! But I've never done the analysis of such short names yet :D
- fuckaj 1y agoYou might use R and Ruby. Wouldn't be unheard of. Alias ftw.