Hacker News new | ask | show | jobs
by haglin 2731 days ago
I like to see simplified loops in Java. For example, traverse two collections/arrays of the same size simultaneously.

for (var f : fathers, var m : mothers) {

  families.add(new Family(f, m));

}
1 comments

Isn't there a Java equivalent to Python's `zip`?