Henry Wong wrote:FYI... just because you have a feature doesn't mean that you can use it. For example, C/C++ has goto -- but if you use it, I don't think I have ever been to a "code review" that anyone (that uses it) has gotten out unscathed (and without a request to fix it).
Sometimes it's still the best solution, though--breaking out of deep loops, for example. It's in embedded programming all the time (along with setjmp/longjmp).