Modular Errors in Rust - Sabrina Jewson
It is thankfully common wisdom nowadays that documentation must be placed as near as possible to the code it documents, and should be fine-grained to a minimal unit of describability (the thing being documented). The practice provides numerous benefits to the codebase and project as a whole:
Modular Errors in Rust - Sabrina Jewson Modular Errors in Rust 2023-04-08 It is thankfully common wisdom nowadays that documentation must be placed as near as possible to the code it documents, and should be fine-grained to a minimal unit of describability (the thing being documented). The practice provides numerous benefits to the codebase and project as a whole: When editing the source code, contributors are less likely to forget to update the documentation as well, ensuring it is kept up-to-date and accurate. When reading the source code, reviewers can easily jump back and forth between the
Explore this link on the map →saved by
related reading
- Error Handling in Rust - Andrew Gallant's Blogburntsushi.net
- A half-hour to learn Rustfasterthanli.me
- Rewriting Bun in Rust | Bun Blogbun.com
- Recoverable Errors with Result - The Rust Programming Languagedoc.rust-lang.org
- Rust Language Cheat Sheetcheats.rs
- Rust Solves The Issues With Exceptions · Dmitrii Aleksandrovhome.expurple.me
- Patterns for Defensive Programming in Rust | corrode Rust Consultingcorrode.dev
- Defining an Enum - The Rust Programming Languagedoc.rust-lang.org
- Paths for Referring to an Item in the Module Tree - The Rust Programming Languagedoc.rust-lang.org
- Programming a Guessing Game - The Rust Programming Languagedoc.rust-lang.org
- The Slice Type - The Rust Programming Languagedoc.rust-lang.org
- Write Errors That Don't Make Me Thinkswyx.io