$return = getCachedObject($hash); if($return) return $return;
It’s technically good code, but something about if($return) return $return; makes my head spin…
$return = getCachedObject($hash); if($return) return $return;
It’s technically good code, but something about if($return) return $return; makes my head spin…
Looks like it belongs on the AP CS exam. 🙂
TRUE.
Which, oddly enough, was my APCS score. 😉