3 ms·
For all the praise cargo gets, the lack of namespaces seems like a pretty huge oversight :/
by icholy 3y ago
For all the praise cargo gets, the lack of namespaces seems like a pretty huge oversight :/
- necubi 3y agoThis is endlessly debated within the community (e.g., https://internals.rust-lang.org/t/blog-post-no-namespaces-in-rust-is-a-feature/13040 https://internals.rust-lang.org/t/blog-post-no-namespaces-in...), and there's no consensus on whether namespaces would be an improvement
- littlestymaar 3y agoThere's no consensus mostly because namespace proponent, despite all the noise they make, haven't been able to articulate a constructed argument about what namespace is actually bringing to the table. For instance, most of them bring typosquatting as a problem that namespaces solve, yet they completely ignore namespace typosquatting: for instance instead of typosquatting `ripgrep` with `rigrep`, you'd typosquat `burntsushi/ripgrep` with `bunrtsushi/ripgrep`…