3 ms·
> Not relying on API search much has the huge advantage of not relying on external APIs, which leads to good modularization. As a general rule, a module shouldn
by wasted_intel 9y ago
> Not relying on API search much has the huge advantage of not relying on external APIs, which leads to good modularization. As a general rule, a module shouldn't call into other modules much.
When writing Rust, you'll likely use the standard library a lot; this rule might not be as applicable as in other languages/environments.
- jstimpfle 9y agoWhat kind of use do you mean exactly?
- wasted_intel 9y agoData structures (vectors, hashmaps, trees), I/O, etc. are all part of the stdlib, and their rich feature sets make an API reference essential. You can certainly write Rust without it, but you’d be missing out on a lot of useful functionality.