Should I avoid using Java Label Statements?

Posted by Kamikaze Mercenary on Stack Overflow See other posts from Stack Overflow or by Kamikaze Mercenary
Published on 2008-09-05T18:32:25Z Indexed on 2010/04/20 15:43 UTC
Read the original article Hit count: 227

Filed under:
|

Today I had a coworker suggest I refactor my code to use a label statement to control flow through 2 nested for loops I had created. I've never used them before because personally I think they decrease the readability of a program. I am willing to change my mind about using them if the argument is solid enough however. What are people's opinions on label statements?

© Stack Overflow or respective owner

Related posts about java

Related posts about label-statements