/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

adambennett.dev
| | ruudvanasseldonk.com

Monadic error handling is an alternative to exception-based systems that can prevent many programming errors at compile time.
5.5 parsecs

Travel
| |
| | andreabergia.com

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.
4.0 parsecs

Travel
| |
| | phauer.com

Drawbacks of exceptions and how Kotlin's sealed classes can make our code less error-prone, more readable, predictable and traceable.
4.7 parsecs

Travel
| |
| | sdowney.org

A Possible Technique constexpr bool g(int lhs, int rhs) { auto& op = partial_eq; return op.ne(lhs, rhs); } Compiler Explorer with Supporting Code A trait is defined as a template var...
16.9 parsecs

Travel
|