In C, C++ and C# when using a condition inside a function or loop statement it\'s possible to use a continue or return statement as early as possible and g
as other people said, only use return/continue if things are short.
Personally i only use continue if it is possible to write on one line like:
while( loopCondition ) {
if( innerCondition ) continue;
//do other stuff
}
If it's not possible to write it like this without code getting ugly, then if / else.