Ruby, Scala, and Complexity