/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

www.foonathan.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.
2.4 parsecs

Travel
| |
| | arne-mertz.de

Contents Among C++ developers there often appears to be a misconception about what it means to deal with code that can throw exceptions. The misconception is that the possibility of [...]
3.8 parsecs

Travel
| |
| | c64os.com


5.0 parsecs

Travel
| |
| | javascript.crockford.com

[AI summary] The provided text outlines the implementation of a parser and interpreter for a custom programming language, using a Pratt parsing approach. It details the structure of tokens, the handling of expressions, statements, and control flow, as well as the implementation of functions, objects, and arrays. The text also discusses potential extensions and enhancements to the language.
32.5 parsecs

Travel
|