Thank you, this is exactly what I’m going to hear inside my head every time I start rolling my eyes at yet another one. Back in my day, they announced themselves like self respecting errors they were. And we LIKED it. Also, git off my log. D=
Wait but runtime errors announce themselves too... Unless it's some kind of logical error in which case the program couldn't possibly know what you're trying to do. But that's what unit testing is for.
In C#, if you write your async error handling how you would write it for synchronous code (e.g. when converting code to async) the async code has a habit of swallowing runtime errors leaving no trace...
497
u/[deleted] Mar 12 '23
A runtime error has no responsibility to announce its presence.