opinion on continue and break statements

my programming teacher says continue and break statements aren't good to use. but i have always used them. what are your guys opinion on the use of the break and continue keywords?
Like everything else, it depends on where/how they're used.

When used to interfere with loop control, they can increase complexity, but if used well, they can simplify code in an obvious way.
Last edited on
As with everything, use them when you need them and it would be OK.
If you use them where is unnecessary / you have better options it wouldn't
Your teacher should go back to Pascal and leave C to the pros.
yes i agree, and i think he has only coded in VB professionally >.>
Doesn't your teacher ever use the 'switch' structure? You usually need 'break' for that.
Topic archived. No new replies allowed.