4 ms·
> Think Erlang. Conventional Erlang style is to crash a lot, but to limit the amount that crashes by using enough processes, I believe, c.f. "The How and Why o
by hayley-patton 4y ago
> Think Erlang.
Conventional Erlang style is to crash a lot, but to limit the amount that crashes by using enough processes, I believe, c.f. "The How and Why of Fitting Things Together" <https://www.youtube.com/watch?v=ed7A7r6DBsM&t=1535s https://www.youtube.com/watch?v=ed7A7r6DBsM&t=1535s>. But the key part to handling failure is to detect it first, and silently passing through nil/null/etc is not that.
- trixie_ 4y agoNo matter how you do it, avoiding a hard crash is the point. Don’t throw away the users work because some feature threw an uncaught null exception.