News for hackers. Stuff that matters.
Re:A new approach to error handling by svieira on Tuesday July 30, 2024 @01:32PM (#41111866)
"New", no, but "not as fully explored by programming languages as other paradigms" yes. A very similar approach to the "explicit propagation" version was used in Midori:

https://joeduffyblog.com/2016/02/07/the-error-model/#recover...

Re:A new approach to error handling by kelnos on Tuesday July 30, 2024 @01:48PM (#41112069)
I highly recommend reading that entire blog post -- it's so well written and well researched, and changed my mind on a lot of things about error handling.
Re:A new approach to error handling by mrkeen on Tuesday July 30, 2024 @02:18PM (#41112405)
I didn't get the same impression.

Midori promised to never-ever-ever throw unchecked Exceptions. But when something goes wrong, it just crashes? Sorry, "abandons"?

If it's the preferred strategy, fine, but it shouldn't be made out to be some bastion of correctness.

Re:A new approach to error handling by zupa-hu on Wednesday July 31, 2024 @05:45AM (#41117670)
Thanks for the link!