|
|
|
|
|
by int_19h
550 days ago
|
|
If you don't know why a thing that's supposed to never be null ended up being null, you don't know what the state of your app is. If you don't know what the state of your app is, how do you prevent data corruption or logical errors in further execution? |
|
There are a lot of patterns for this. Its perfectly fine and often desirable to scope the blast radius of an error short of crashing everything.
OSes shouldn't crash because a process had an error. Servers shouldn't crash because a request had an error. Missing textures shouldn't crash your game. Cars shouldn't crash because the infotainment system had an error.