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
saved by
related reading
- A half-hour to learn Rustfasterthanli.me
- Error Handling in Rust - Andrew Gallant's Blogburntsushi.net
- Patterns for Defensive Programming in Rust | corrode Rust Consultingcorrode.dev
- Write code that is easy to delete, not easy to... — programming is terribleprogrammingisterrible.com
- Rust Language Cheat Sheetcheats.rs
- Master Hexagonal Architecture in Rusthowtocodeit.com
- Rust Solves The Issues With Exceptions · Dmitrii Aleksandrovhome.expurple.me
- Defining an Enum - The Rust Programming Languagedoc.rust-lang.org
- A data race that doesn't compilecorentin-core.github.io
- Mistakes engineers make in large established codebasesseangoedecke.com
- Item 7: Use builders for complex types - Effective Rustlurklurk.org
- Fixing Rust's supply chain security: The good, the bad and the uglykerkour.com