Re: IF or SWITCH
| From: | Robert Cummings | Date: | Thu, 06 Apr 2006 17:04:33 +0000 |
| Subject: | Re: IF or SWITCH | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-233386@lists.php.net to get a copy of this message | ||
On Thu, 2006-04-06 at 11:50, tedd wrote:
>
> Regardless of speed, I find that switch is much easier to write and
> debug than if/elseif -- which, regardless of my shortcomings, I never
> use.
Umm, that you NEVER use elseif I think is strongly coupled with your
shortcomings :l But I'm not judging, to each his own :|
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'