News for hackers. Stuff that matters.
Re:Linus Torvalds: “Do No Harm” by TickleSteve on Wednesday November 22, 2017 @07:56AM (#15756376)
Erlang's error-handling model is good (and interesting). Th e motto is: "Let it crash".

Each node does not handle errors at all, but PANICs on a fault. It is up to the supervisor (with global knowledge and state) to handle the fault appropriately.

Re:Linus Torvalds: “Do No Harm” by bjourne on Thursday November 23, 2017 @07:34AM (#15764607)
It's good for uptime, but not good for correctness. The main problem is that it is hard to differentiate expected from unexpected crashes. Something like a missing pattern match can lead to a crash and it is very hard to know if the programmer "intended" for a crash to occur in that case or if the missing pattern is a bug.

You can have processes that reboot once every few minutes running for years because people didn't realize they were bugged.