Explore >> Select a destination


You are here

www.bartoszsypytkowski.com
| | ruudvanasseldonk.com
4.9 parsecs away

Travel
| | Monadic error handling is an alternative to exception-based systems that can prevent many programming errors at compile time.
| | andreabergia.com
3.1 parsecs away

Travel
| | Error handling is a fundamental aspect of programming. Unless you are writing hello world, you will need to handle errors in your code. In this post, I will discuss a bit the most common approaches used by various programming languages. Return error codes This is one of the most ancient strategies - if a function can fail, it can simply return an error code - often a negative number, or null.
| | jmmv.dev
3.3 parsecs away

Travel
| | Dependency injection is one of my favorite design patterns to develop highly-testable and modular code. Unfortunately, applying this pattern by taking Rust traits as arguments to public functions has unintended consequences on the visibility of private symbols. If you are not careful, most of your crate-internal APIs might need to become public just because you needed to parameterize a function with a trait. Let's look at why this happens and what we can do about it.
| | blog.samibadawi.com
24.6 parsecs away

Travel
|