Re: [PHP] break statement usage

2002-01-26 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then DL Neil blurted > Private note: heard the one about throwing stones and living in glass houses? > > > > > Try to keep your posts a little shorter > > if only for the sake of the dialup users ;) > > > this said by someone wh

Re: [PHP] break statement usage

2002-01-26 Thread DL Neil
AIL PROTECTED]> Sent: 25 January 2002 21:24 Subject: Re: [PHP] break statement usage > -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 o

Re: [PHP] break statement usage

2002-01-25 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Erik Price blurted > On Friday, January 25, 2002, at 04:24 PM, Nick Wilson wrote: > > > >Try to keep your posts a little shorter > >if only for the sake of the dial-up users ;) > > > > Do you suggest this tip whenever someone

Re: [PHP] break statement usage

2002-01-25 Thread Erik Price
On Friday, January 25, 2002, at 04:24 PM, Nick Wilson wrote: > > Try to keep your posts a little shorter > if only for the sake of the dialup users ;) > > Thanks for the tip, but I find that a more verbose message makes explicit what I am asking. How many times have you seen "I bre

Re: [PHP] break statement usage

2002-01-25 Thread Nick Wilson
-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

RE: [PHP] break statement usage

2002-01-25 Thread Darren Gamble
Good day, Actually, using the "break" statement is the accepted, proper way to break out of a switch statement, just as it is in other programming languages. And yes, the "break" statement can be used to terminate other loops, such as "while" and "for", just like in other languages. Using it th