Personally, I find:
much harder to understand thanif ($zipcode == 12345 || $zipcode == 55344 || $zipcode == ...) { code }
specially when it comes to better understanding of what the code is meant to accomplish.if (is_valid_zipcode($zipcode)) { code }
In reply to Re^5: Conditional Elimination
by dsheroh
in thread Conditional Elimination
by dunnyman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |