10 ms·
A nil-dereference is very easy to spot in production: you have a panic and a stack trace in your logs. Which means you can check after a few years how many nil
by dgellow 6y ago
A nil-dereference is very easy to spot in production: you have a panic and a stack trace in your logs.
Which means you can check after a few years how many nil-pointer exceptions you got in your actual system. In my experience that numbers is really low.
- yawaramin 6y ago> very easy to spot in production: you have a panic and a stack trace in your logs. Not a great experience for your users though. And definitely not great for developers who get paged to handle these production incidents that could have been caught at compile time.