/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

dave.cheney.net
| | vittorioromeo.info

[AI summary] The author argues that sum types and algebraic data types are safer and more readable than exceptions for handling errors in C++ programming.
3.4 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.
2.9 parsecs

Travel
| |
| | danielsieger.com

A comparison of exceptions and error codes for error handling in C++.
3.2 parsecs

Travel
| |
| | thomascountz.com

Checkout Ownership in Rust, Part 1.
29.2 parsecs

Travel
|