Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.08 KB

File metadata and controls

39 lines (28 loc) · 1.08 KB

Error handling design patterns in non-OOP languages

A academic research on how errors are handled by developers in programming languages that do not support Exceptions, using mainly examples from ISO C.

Topics

  • A brief recap over Exceptions
  • Return codes
    • Boolean codes
    • Error codes
    • Error flags
  • Using the return value's domain
  • Embedded error indicator in value
  • <errno.h>
  • <setjmp.h>
  • Code design choices with return codes

Note: the previous versions of the document (see Git Tags) contains many more slides that were removed due to the presenting time limitation.

License

The LaTeX source code and the code snippets of other programming languages contained in it are licensed under the BSD 3-Clause License.

The slides themselves, in case you were interested in only the PDF after compilation, are licensed under the CC-BY 4.0 License.

In other words, both pretty much require to acknowledge the author and that's it.