/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

source.coveo.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.
1.1 parsecs

Travel
| |
| | danielsieger.com

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

Travel
| |
| | patshaughnessy.net

[AI summary] A Ruby developer explains the unique challenges of mastering Rust's mandatory error handling by comparing it to learning a foreign language with distinct vocabulary for concepts like success and failure.
3.2 parsecs

Travel
| |
| | viralinstruction.com

[AI summary] The author argues that Rust's borrowchecker causes serious ergonomic problems and overstates its role in memory safety, suggesting that the effort required to satisfy it often outweighs the benefits compared to garbage-collected languages.
14.6 parsecs

Travel
|