In the previous post in this series, I attempted to demonstrate some of the basic benefits of blocks by showing examples of listing, filtering, mapping, and sorting in Ruby and in Java.
In general, the Java solutions had to do most of the work themselves with their own loop constructs. However the sorting example was [...]