| website | https://matthiasnoback.nl |
| https://twitter.com/matthiasnoback |
| website | https://matthiasnoback.nl |
| https://twitter.com/matthiasnoback |
Next #Fortran post: "Returning test and assertion errors".
We find more good reasons for using custom derived types in the test framework. Assertion functions no longer print their results directly to screen. https://matthiasnoback.nl/2026/01/fortran-testing-returning-test-and-assertion-errors/
New #Fortran post: "Errors and error handling - Part 7 - Fatal errors" https://matthiasnoback.nl/2025/07/fortran-errors-and-error-handling-part-7-fatal-errors/
Almost everywhere in our code should we allow errors to bubble up to higher abstraction levels, until we get to the point that we'd really like to terminate the program. How to do that properly? We need to consider the process' exit code, printing the error to stderr, and adding a stack trace.