Y
Hacker News
new
|
ask
|
show
|
jobs
by
josephlord
4807 days ago
Even if it can't be null now the calling code may change in the future. And did you check all the possible error conditions (e.g. failed allocation). If you are relying on a non-null call best to check every time.