-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* and then Erik Price blurted....
> So what I'm wondering is,
> 
> Is it bad coding practice to make heavy use of "break" statements in 
> switch() flow control?

That's exactly the point of the break statement, it was designed to be
used in a switch statement to 'break' from the statement.
It replaces the need for complex and untidy 'if else' monsters.

<tip>
    Try to keep your posts a little shorter 
    if only for the sake of the dialup users ;)
</tip>

Cheers
- -- 

Nick Wilson

Tel:    +45 3325 0688
Fax:    +45 3325 0677
Web:    www.explodingnet.com



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8Uc0PHpvrrTa6L5oRAvcAAJ9Z67PVwgyNN7WFpf/R0wvN97IMkgCgm53O
1TbPTWhwyl8FNEhtLRRYv/c=
=UDbQ
-----END PGP SIGNATURE-----

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to