3 ms·
> So while Go encourages having reasonably sized packages, Rust unfortunately encourages huge crates. Interesting since I think Rust very much encourages the o
by insanitybit 3y ago
> So while Go encourages having reasonably sized packages, Rust unfortunately encourages huge crates.
Interesting since I think Rust very much encourages the opposite, which is why so many crates like hyper, regex, and others, are actually composed of many crates.
I don't really get the main thrust of the article. Go forces directories to map to packages. That sounds... awful. I guess it "encourages small packages" because you can't even organize them into folders? IDK, I feel like I'm missing something - particularly, I'm missing why big or small is good or bad, or why creating a crate is onerous.