I have read this link Should I return from a function early or use an if statement? and it triggered a conflict in my head. I agree that it looks nicer and cleaner and I guess that would be the way I would write it. But I remember that there was something saying that we should always check the the conditions under which we should DO stuff rather than trying to eliminate all the bad cases.
if (case_that_allows_to_do_stuff1 && case_that_allows_to_do_stuff2 ) {}
is preferable over
if (!this_case && !that_case && !oh_and_also_this_case) {}
Is this what I am saying related to the link above or is it a separate case?