News for hackers. Stuff that matters.
Re:You’re better off using Exceptions by LOL_Arch_Linux on Monday February 03, 2020 @11:40AM (#22225817)
While my favorite language (Erlang) has Exceptions, I really like the "let it crash" model -- let the whole light-weight thread die and have the controlling thread (a/k/a "supervisor") figure out what to do.

I've seen insane Java programs where tracking how many layers up Exceptions are caught was mind-twisting. And conversely, when everything was wrapped in a try/catch and then, essentially ignored.

There are no comments on this comment yet.