3/10 Throw, try, catch...test

05/02/2025 31 min Temporada 1 Episodio 3
3/10 Throw, try, catch...test

Listen "3/10 Throw, try, catch...test "

Episode Synopsis

Exceptions are essentials, as are error codes. Writes Bjarnes Stroustrup. And so on our 3rd stop through C++ I talk about what you could do when things go wrong. And what you can do to prevent errors - with testing. My guest is, again Klaus Iglberger.The sounds you're hearing are from the excellent https://sound-effects.bbcrewind.co.uk BBC sound library - free of use for non-commercial purposes. Links:https://en.wikipedia.org/wiki/Exception_handling_(programming)https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1947r0.pdf B Stroustrup's article 'C++ exceptions and alternatives'https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_exceptions.html GNU exception manualhttps://en.wikipedia.org/wiki/Errno.h the <errno> macrohttps://www.gnu.org/software/libc/manual/html_node/Error-Codes.htmlhttps://archive.org/details/working-effectively-with-legacy-code/ Michael Feathers "Working Effectively with Legacy Code"https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0003r0.html#2.0 what went on with C++98 exceptions? https://devblogs.microsoft.com/oldnewthing/20180928-00/?p=99855 another discussion on the "old" exception handling in C++Tools:https://undo.io/products/undo-c-plusplus/ Undohttps://github.com/catchorg/Catch2 Catch2https://google.github.io/googletest/ Google testshttps://github.com/emil-e/rapidcheck RapidCheck property based testingDon't be shy - say HiThis podcast is brought to you by the Advanced Research Computing Centre of the University College London, UK. Producer and Host: Peter Schmidt

More episodes of the podcast UCL for Code in Research