/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

danielsieger.com
| | 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.2 parsecs

Travel
| |
| | artem.krylysov.com

[AI summary] The article explains how to handle C++ exceptions within Go programs by creating a C wrapper using C++ that catches exceptions and returns error messages to the Go routine.
2.6 parsecs

Travel
| |
| | 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.2 parsecs

Travel
| |
| | bitsofco.de

Articles on frontend development and more.
18.5 parsecs

Travel
|