I’m currently looking into another one of your bowling games, this time written in F#. Again a language I’ve never heard of, but it seems to be pretty nice. Very similar to SML (yes, I also know some languages nobody else knows!), which I learned at university. I really like functional languages, especially when it comes to list operations, with all the folding, mapping and filtering. And I really miss them in Java!

Instead of a plain

  1. result = List.map function inputList

you need that clumsy and not at all explicit

  1. List<OtherType> result = new ArrayList<OtherType>;
  2. for (Type each : inputList) {
  3.     result.add(function(each));
  4. }

>> more…