Inside a for-loop, should I move the break condition into the condition field if possible? – softwareengineering.stackexchange.com 06:08 Posted by Unknown No Comments Sometimes I need for loops which needs a break like that: for(int i=0;i<array.length;i++){ //some other code if(condition){ break; } } I feel uncomfortable to if(condition){ ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "Inside a for-loop, should I move the break condition into the condition field if possible? – softwareengineering.stackexchange.com"
Post a Comment