if/elseif/else v. switch
| From: | Dennis Seavers | Date: | Sat, 05 Jun 2004 05:39:06 +0000 |
| Subject: | if/elseif/else v. switch | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-187661@lists.php.net to get a copy of this message | ||
Is there any noticeable difference (on the part of the client) between identical conditionals, one
written as a switch, the other written as an if, elseif ... else conditional? I realize that one
programmer coming in behind another might prefer the gentler layout of a switch; but would there be
any perceivable difference, client-side, between the options?