/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

morestina.net
| | 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.
14.1 parsecs

Travel
| |
| | blog.startifact.com

Rust has some really nice functional programming facilities built in, all around an iterator concept. Rust being focused on performance and low level control makes it possible to use this without paying a performance cost. Sometimes I still prefer to use the humble for loop though. In quite a few cases, it combines high performance with high readability. I thought I'd motivate why. ...
6.1 parsecs

Travel
| |
| | blog.burntsushi.net

I blog mostly about my own programming projects.
18.6 parsecs

Travel
| |
| | rust-sdl2.github.io

API documentation for the Rust `sdl2` crate.
22.6 parsecs

Travel
|