|
|
|
|
|
by jacquesm
4370 days ago
|
|
> So developers only check the ones they know "could" be null, in normal operation. Not the good ones. Normal operation isn't when you're dealing with a mobile device, there could be any number of reasons why your app can't reach a certain service delivered by some API so better to be prepared for that eventuality. |
|
You have to balance the tradeoffs of bloated code and pointless error checking with adding features and improving the program. The more error checking code one writes the more one must maintain and the higher the potential for bugs.