3 ms·A good rule of thumb is validate early and return early. Prevents endless if else nestingby calvinmorrison 3y agoA good rule of thumb is validate early and return early. Prevents endless if else nesting