Should a function return
return null; // vs return;
If you don't return anything, just use
return; or omit it at all at the end of the function.
If your function is usually returns something but doesn't for some reason,
return null; is the way to go.
That's similar to how you do it e.g. in C: If your function doesn't return things, it's
void, otherwise it often return either a valid pointer or NULL.