Java seems to have done something right in this regard; with continue <label>
, you can, for example, instruct an outer loop to continue
. Remember, continue
glues to the inner-most loop.
For example, you could do write this in Java:
outer_loop:
for (...) {
for (...) {
continue outer_loop;
}
}
To accomplish something similar in C-like ...
Nowadays I've been using Java pretty heavily. The current CS module I'm taking (data structures and algorithms) requires Java, and it also happens that I'm doing some GAE Java work.
For these, I've been leveraging JUnit 4 and Mockito, and writing code for these have opened ...
JSRs for Java SE7 are out. In terms of language-level changes, I found JSR 334 particularly interesting; proposed changes include:
Makes you wonder why Java didn't have them earlier on. But the most exciting proposal would be JSR 335:
JSR 335: Lambda Expressions ...