|
|
|
|
|
by simplotek
1337 days ago
|
|
> Rust's documentation is taken very seriously and often praised! But we focus on documenting actual APIs (with examples that we actually run in CI to make sure they don't break!) (and links to the actual implementation to dig deeper!). Your confusing two radically different types of documentation. Specifications, such as the ISO standards for C and C++, are the source of truth of what determines what the language actually is. Writing tutorials with example code ran in some implementation might help people onboard onto it but it does not, in any way, shape, or form, specify what's the language. It's like comparing blueprints of a construction site with random videos and photos of the same building. |
|
A detailed specification only matters if you're trying to construct another building to the same spec (write another compiler), want to do heavy renovation work (implement a major new feature on rustc), or if the technical details are insufficiently "abstracted out" (say, there are exposed live wires that you have to know to avoid in daily use – cf. undefined behavior in C and C++).